all groups > flash (macromedia) > august 2003 >
You're in the

flash (macromedia)

group:

Animation Help


Animation Help Vampiretodd
8/30/2003 11:52:44 PM
flash (macromedia): Hi,
Im a flash mx begginer and I have a question. I started an animation and looped it. Its a short one of a person dancing. I realized that I want to add music to it. The song is way longer, so I was wondering how I could loop just the animation and play the music in a layer continuosly. Im sure that I could work on the animation and make it longer, but Im too lazy right now. Can someone please help?
Thnks, Todd

Re: Animation Help stwingy
8/31/2003 12:24:43 AM
I`m not certain about what you mean but if you want the mc to loop until the sound finishes, you could use this.

//on the main timeline
mySound = new Sound()
//you need to give your sound a linkage identifier(noise)
mySound.attachSound("noise")
mySound.start()
mySound.onSoundComplete = function(){
//need to give your movie a name in the property inspector
myMovie_mc.gotoAndStop("frame label")
}



AddThis Social Bookmark Button