my_sound = new Sound();
my_sound.attachSound("song");
my_sound.start();
_root.pauseMe.onRelease = function(){
_root.my_sound.stop();
}
_root.playMe.onRelease = function(){
_root.my_sound.start(_root.my_sound.position/1000);
give your imported song a linkage name of "song"...
Click here for this cool tutorial. I tried it and it works.
Also thinking ahead, one could put an animated gif or flash movie in the layer, which will let the user know the page is loading.
http://www.dwfaq.com/Tutorials/Layers/hide_wLoading1.asp
flashnut
I have an issue where i need to have a sound play over 16 scenes wih out a restart on the sound loop. Any help or ideas would be awesome. TIA anyone.
Flashnut
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.