[Golist] loop sequence...
Christopher Wilson (Go Media Inc.)
chris at gomedia.us
Mon Mar 23 10:26:13 PDT 2009
NEVERMIND, I'm sleep deprived. It's not working because I didn't tell it start(); !!!
Doh, noob pwnd.
From: golist-bounces at goasap.org [mailto:golist-bounces at goasap.org] On Behalf Of Christopher Wilson (Go Media Inc.)
Sent: Monday, March 23, 2009 1:19 PM
To: golist at goasap.org
Subject: [Golist] loop sequence...
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/598e2e77/attachment-0001.html>
More information about the GoList
mailing list