Flash Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignFlash Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old January 19th, 2003, 12:27 AM
wAr-AnGeL wAr-AnGeL is offline
Forum Security
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Behind You
Posts: 479 wAr-AnGeL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m
Reputation Power: 7
Send a message via ICQ to wAr-AnGeL Send a message via AIM to wAr-AnGeL
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

Reply With Quote
  #2  
Old January 19th, 2003, 04:04 PM
itworks itworks is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Internet
Posts: 12 itworks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignFlash Development > Looping a layer


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway