:)

On May 21, 2009, at 5:38 PM, Mark Winterhalder wrote:

On Fri, May 22, 2009 at 12:28 AM, Karl DeSaulniers <k...@designdrumm.com> wrote:
I will try that and let you know.

I just found another bug. :/

This line:

var progress : Number = framesElapsed / fadeDuration;

should really be like this:

var progress : Number = framesElapsed++ / fadeDuration;

otherwise there wouldn't be a fade. Sorry for that.

One question, sort of off-sub, but in regards to what you just wrote.
When you "delete" something does this remove it completely?
or would it be available if that frame was played again?

If the code on that page would play again, then the "onEnterFrame =
..." part would get executed again, and the function would get
reassigned to onEnterFrame. It would also reset the framesElapsed
counter, so it wouldn't work if executed each frame.
So, run it only once. If you have to run it more than once, it gets
complicated. Let me know if that's the case.

Mark
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to