Problem with song in menu
Started by: EarthquakeAnims | Replies: 5 | Views: 956
EarthquakeAnimsPosts: 894
Joined: Jun 2014
Rep: 10
View Profile I set it as a event and stuff and then put a frame where I want my animation to start But the the music won't stop.
here's some screenies
basically how do you add music to your menu and keep it going untill you press play? and I also want it to keep on playing when i go into scene select
Drone2Posts: 11,650
Joined: Mar 2012
Rep: 10
View Profile Make the frame where your animation starts have the stop all sounds code
Arch-Angel2Posts: 9,496
Joined: Jan 2007
Rep: 10
View Profile Technically you don't even need the actionscript. What you can do is have a frame for the menu that calls for the play even in properties, and then a frame after the menu frame where it calls for an event to stop the music. That should fix your problem.
EarthquakeAnimsPosts: 894
Joined: Jun 2014
Rep: 10
View Profile Make the frame where your animation starts have the stop all sounds code
whats the code for that?
Arch-Angel2Posts: 9,496
Joined: Jan 2007
Rep: 10
View Profile whats the code for that?
stopAllSounds();
Couldve gone into Actions>Timeline Control> Stop All Sounds
EarthquakeAnimsPosts: 894
Joined: Jun 2014
Rep: 10
View Profile stopAllSounds();
Couldve gone into Actions>Timeline Control> Stop All Sounds
AWESOME THANKS! it worked!