Hey guys, what's up?
I am trying to make a fade in/out in a music in a Flash (CS5) project. I imported the sound to library, set a classname for "Export for ActionScript", and I was trying to fade with TweenLite/TweenMax, like this:
var sound = new MySound();
sT = new SoundTransform(0.1);
sound.play(0,99999, c_sndEnvironment);
TweenLite.to(sound, 1, {volume: 1.0});
But it just doesn't work. I tried to import the volume plugin on TweenLite, and still nothing. I got no error at all though.
Am I doing anything wrong?
Plus, is there any good (complete) AS3 library for music?
Thank you. :)