Skip to main content
Known Participant
May 22, 2009
Question

animating array movie clips

  • May 22, 2009
  • 1 reply
  • 440 views

I've got an array with four movie clips that I would like to move onto the screen separately (the first one, then the second, etc). Is there a way to do that?

This is the code I have to move the whole array onto the screen:

arrCSnav:Array = [cs1_Button, cs2_Button, cs3_Button, cs4_Button]

for(i=0;i<arrCSnav.length;i++) {

var enterTween:Tween = new GCSafeTween(arrCSnav, "x", Strong.easeOut, arrCSnav.x,arrCSnav.x+180,12,false);

}

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
May 22, 2009

It depends on the kind of timing you want for them, but you could use an eventlistener for the tween which will start a new tween once the preceding tween completes.  If sequential isn't the route, but more like one on the tail of another, then a Timer might work better.

Known Participant
May 22, 2009

Thanks -- good idea!