|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Looping a layer
I'm new to Flash and have been fooling around with it a bit. I was wondering if it is possible to repeatedly loop one layer while continuing playing the others. Basically I want one animation to keep on running while I have a sound playing in the background.
Thanks
__________________
![]() ![]() "Only Linux users see the end of crashes." - Pl4t0 |
|
#2
|
|||
|
|||
|
you can't loop only one layer, basically 'cause you don't need to.
what you have to do is. press ctrl+F8 to create a new symbol, then select movieclip and name it. you'll be taken to a new timeline (the movieclip timeline) here you can make your animation that will automatically loop as long as you don't put a stop(); action in it. then you leave to your main timeline (Scene 1) and open the library (press F11) you'll notice that your movieclip is in there. select frame 1 of the layer you want to contain your animation and drag the movieclip from the library panel into the stage. create a new layer and after selecting it's frame 1, go to the actions panel and insert this code - stop(); for the background music you can insert it in a frame in the main timeline or just make a new movieclip symbol and insert it there. ctrl+Enter to test your movie. hope this helps. |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Flash Development > Looping a layer |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|