This works:
var yPos:Number = 50;
for (var i:Number = 0; i < 5; i++) {
duplicateMovieClip(templates, "templates" + i,
this.getNextHighestDepth());
var mc:MovieClip = this["templates" + i];
yPos += 50;
mc._y = yPos;
mc._alpha = 0;
fadeInTemp
ww.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Reinfeld
Sent: Tuesday, July 17, 2007 2:18 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] onEnterFrame() and delete onEnterFr
- Original Message -
From: "Jesse Graupmann" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 18, 2007 12:49 AM
Subject: RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()
> You could make it just a bit more lean than that...
>
Except that fadeInMc() n
ice for AS 1.0 considering nothing gets
referenced beyond the scope of this?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Tuesday, July 17, 2007 4:13 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] onEnterFrame()
= 0; i
To:
Sent: Wednesday, July 18, 2007 1:34 AM
Subject: RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()
>I was just making an example based on this article.
>
> http://timotheegroleau.com/Flash/articles/scope_chain.htm
>
> "#6 To avoid memory waste, a simple
What about this? I added a whole bunch of garbage to the fade function to
show flexibility. You could trim the fat by eliminating most of the
arguments passed.
this.template.fade=function (dest:Number, //this is the alpha value you
want to fade TO
frame:Nu
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Tuesday, July 17, 2007 5:25 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] onEnterFrame() and delete onEnterFrame()
Well, both are bad practice (IMO).
I'd go for an animation engine, like animationpa
oh boy..
- Original Message -
From: "Jesse Graupmann" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 18, 2007 7:13 AM
Subject: RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()
> Ok, so no scope change and no extra tween class. Isn't over engineering
&
Not sure who all the "cool kids" are, but I thought for sure that the best
solution for tweening was the Fuse Kit: http://mosessupposes.com/fuse/
Ya wanna talk about overengineering, pfew. But, none the less, if you can't
make the Fuse engine do everything you want (including cooking you breakfas
9 matches
Mail list logo