FadeSound AS3 – A class which fades sounds in and out automatically
Recently I was working on a project that required me to fade a sound in and out dynamically. Here is the result:
FadeSound (clever name, huh?) is an AS3 class that extends Flashs built in Sound class and includes fading in and fading out (including auto-fade out on sound completion).
Here is the source: http://blog.organa.ca/flashContent/fadeSound/SoundFader_Organa.zip
You can probably just dive in and figure it out based on the examples, but I’ll do a write-up after the break.
December 27th, 2010 by Peter Organa
Posted in AS3, Programming, Source Code | Comments Off on FadeSound AS3 – A class which fades sounds in and out automatically