SourceTec Software

It is currently Thu Apr 24, 2014 10:43 pm

All times are UTC + 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: moving moving image
PostPosted: Sun Feb 06, 2011 10:07 pm 
Offline
Member

Joined: Sun Feb 06, 2011 9:44 pm
Posts: 4
I have made an image which is made of two parts. One part that moves and the other is static. Each part is on a different layer. I make the image appear to walk are fly via tweening both layers. So now I have a loop of the guy walking or the bird flying or whatever. How can I get this tween to move across the screen. I could have positioned the last frame elsewhere on the stage but that would mean that the movement sequence would play out only once in the move from start to finish. I need the walk/fly sequence to repeat repeatedly before the moving object gets from point A to point B.

Hope this is clear.

Additional just in case. The image is not of a man walking but it just as well could be. If I can make a tween of a man making a walk sequence. How do I move this walk sequence across the stage?


Top
 Profile  
 
 Post subject: Re: moving moving image
PostPosted: Mon Feb 07, 2011 3:05 pm 
Offline
Guru
User avatar

Joined: Wed Feb 18, 2009 12:33 am
Posts: 402
Step by step,

to have a MovieClip playing in a loop, just add to the last frame this code:

Code:
gotoAndPlay(1);


Top
 Profile  
 
 Post subject: Re: moving moving image
PostPosted: Tue Feb 08, 2011 1:08 am 
Offline
Member

Joined: Sun Feb 06, 2011 9:44 pm
Posts: 4
I don't want it to play in a loop. I want the image to move across the screen once. The sequence of say... walking should loop multiple times. Each "step" takes 2 seconds for example but to get from one side of the screen to the other should take 10 seconds.


Top
 Profile  
 
 Post subject: Re: moving moving image
PostPosted: Tue Feb 08, 2011 2:30 am 
Offline
Guru
User avatar

Joined: Wed Feb 18, 2009 12:33 am
Posts: 402
In this case you have a MovieClip in a loop (walking movement). Then, that MovieClip moves along a path from one side to another. To do that you find here some tutorials.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group