[Golist] loop sequence...
Christopher Wilson (Go Media Inc.)
chris at gomedia.us
Mon Mar 23 10:18:48 PDT 2009
Or maybe someone can give me a pointer on this. I want to add a pile of clips to a HydroSequence but it seems like I can't instantiate the class with a target null or nothing to begin with?
var seq1:HydroSequence = new HydroSequence({target:null, alpha:1, duration:0, easing:Circular.easeIn});
for (var i:int=1; i<=115; i++) {
var mcTarg:MovieClip = allRed.getChildByName("r"+i) as MovieClip;
mcTarg.alpha=0;
seq1.addItem([{target:mcTarg, alpha:1, duration:0.25, easing:Circular.easeIn, delay:0+i/64}, {func:trace, args:["HELLO WORLD"]}]);
}
Anyone (Donovan) have a trick to adding an array of objects to a sequence?
Thank you kindly for your help with this! It is so much appreciated as I'm newly using both these classes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://goasap.org/pipermail/golist_goasap.org/attachments/20090323/c43c96b4/attachment.html>
More information about the GoList
mailing list