need help adding music

6 posts

Flag Post

how do you add music to a game?

 
Flag Post

anyone?

 
Flag Post

File > Import > Import to Library

Then select the frame you want music on, go to the properties bar and click the sound drop-down menu. You can select your sound from there.

Also, on a related note.. How do you stop music from one frame from overlapping to the next, anyone? :(

 
Flag Post

haha, now im having that problem too

 
Flag Post

stopAllSounds() is the simplest way, but it will stop everything, as the name implies.

Starting and stopping by code is the preferable way, using sound.start() and sound.stop();

You can also stop a sound by adding a frame with a sound event set to ‘stop’ in the sync field, instead of ‘start’ or ‘event’ or ‘stream’.

 
Flag Post

thank you!
now as far as i know… all of the major bugs are fixed (for now, im sure ill manage to find others, thats just programming lol), i simply have to add more levels and my game will be finished :)
look for it in the next few weeks :D