im trying to make background music, but i cant get the music to stop and play…
i used the stopallsound actions script but i cant get it to play again?
can someone help?
and also having multiple tracks that you can skip forward and back…
thankss…
im trying to make background music, but i cant get the music to stop and play…
i used the stopallsound actions script but i cant get it to play again?
can someone help?
and also having multiple tracks that you can skip forward and back…
thankss…
Did you use the sound object ? It’s easy to start and stop.
[AS]
x = new Sound();
x.loadSound(“whatever.mp3”,true); //true = streaming
x.start(0,1);
[/AS]
And to stop, you use x.stop();
See http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary669.html for more information on starting sounds and http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary670.html for more info on stopping sounds.
And do you mean skipping within the tracks or skipping between tracks ?
:: Copyright KIRUPA 2024 //--