gav.cooper
08-29-2007, 09:13 PM
Hi,
Firstly it’s safe to say that I’m still a n00b to actionscript, so I think I’m posting in the right section…
I’ve been working on a game over the summer and I need some help with controlling the music that a friend has made for it.
Level 1 is one scene and the user can either complete the stage or the user dies trying, either way the game changes scenes to the next level scene or the game over scene.
The problem I have is that even though the scene changes fom one to another the music from that 1st scene carries on playing… I need it to stop when the game changes scenes.
Does this make sense?
Basically, is there an actionscript command that stops the audio playing in a scene when leaving that said scene?
Cheers… :eek:
P.S
I'm using Flash MX 2004
Firstly it’s safe to say that I’m still a n00b to actionscript, so I think I’m posting in the right section…
I’ve been working on a game over the summer and I need some help with controlling the music that a friend has made for it.
Level 1 is one scene and the user can either complete the stage or the user dies trying, either way the game changes scenes to the next level scene or the game over scene.
The problem I have is that even though the scene changes fom one to another the music from that 1st scene carries on playing… I need it to stop when the game changes scenes.
Does this make sense?
Basically, is there an actionscript command that stops the audio playing in a scene when leaving that said scene?
Cheers… :eek:
P.S
I'm using Flash MX 2004