all groups > flash actionscript > july 2006 >
You're in the

flash actionscript

group:

Do I use Interval code to make this happen


Do I use Interval code to make this happen wynterain
7/2/2006 9:57:38 PM
flash actionscript:
I want the following example to animate one panel after another. First you need
to know that the animation was created with actionscript. I say this because
each panel is on a different layer and the actionscript is on the first frame
of each movieclip and not on an actions layer. Also when I try to add more
than one frame for any of the movieclips the animation goes bananas.

("mx.transitions.TransitionManager.start(img1_mc, {type:mx.transitions.Zoom,
direction:mx.transitions.Transition.IN, duration:2,
easing:mx.transitions.easing.Elastic.easeOut});")

the above code is the actionscript that triggers the animation. The following
link shows the actionscript at work.

http://img191.imageshack.us/my.php?image=ccbackupsite2jr.swf

I hope someone can help me with my dilemma.
Re: Do I use Interval code to make this happen Motion Maker
7/2/2006 10:05:29 PM
Play the first frame of the MovieClips once.

Either have the content on a second frame with a stop or if you have many
frames to play, have the stop on the last frame or if you need to repeat
frames, on the last frame gotoAndPlay(2);

--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
[quoted text, click to view]

AddThis Social Bookmark Button