PDA

View Full Version : oh..


BCSA #13
03-24-2002, 06:32 AM
i was trying to make a flash music video.. i was planning on using scenes.. rather than one long movie.. but i wasn't sure how to make the song overlap into the other scenes.. like.. i'm not sure how to stop the song at the end of one scene.. then continue it when it goes to the other one..

thanks in advance..

Sereywath Keng

farafiro
03-24-2002, 12:09 PM
U just need to dynamicly play it and stop it
// make a button and attatch that code:
// Or Put this In the first Frame

on(release){
mySound = new Sound
mySound.attachSound("mySong")// dont 4get the ""
mySound.start(0,1)// 0 is for the delay u want before starting your song & 1 is the number of loops you want the song to be repeated so 1 means that it will play one time, 2 means twice ....
}

and that's it

u may also make a button to stop the song if the user don't wont to listen to it:

on(release){
mySound.stop
}

BCSA #13
03-24-2002, 04:34 PM
i just wanted the song to continue playing.. i didn't really want to add a button.. the movie should continue from scene to scene.. and the song should also.. should i put the song in each scene? i'm not sure how to go about that..

Sereywath Keng

Billy T
03-24-2002, 07:19 PM
so just put that code on the first frame and remove the "on(release)"

the audio will continue even if the timeline changes scene

cheers

Billy T
03-24-2002, 07:19 PM
so just put that code on the first frame and remove the "on(release)"

the audio will continue even if the timeline changes scene

could also just set your audio to "event"

cheers

BCSA #13
03-24-2002, 08:33 PM
thanks alot.. i had it on stream.. i guess that's why it ended at the end of the scene.. :)

Sereywath Keng