[Tweener] Noob Issue

accounts accounts at coalescentdesign.com
Fri Jul 4 22:31:26 PDT 2008


Hi-

I'm relatively new to AS3 and completely new to Tweener and have been playing around with it (and really excited by what it can do!). However, I've run into a specific scenario and am unsure whether the issue pertains to Tweener or my limited AS3 knowledge.

I have an mc (called "btnEnlighten") in the main timeline (in the Flash IDE) and have a couple addTween methods running in a frame script at the same frame position that "btnEnlighten" sits in. However, the tweens (which are targeted to two child mcs ("bg" & "btnlabel") within "btnEnlighten") don't seem to take place - or do oddly (I sometimes see some small flickering when running the piece).

The code in the frame is as follows:

Tweener.addTween(navEnlighten.bg, {_color:0x88bea6, time:5});
Tweener.addTween(navEnlighten.btnlabel, {_color:0xffffff, time:5});

Neither of the mcs (bg or btnlabel) are animating. However, I can use the methods on the mc container. If I try:

Tweener.addTween(navEnlighten, {_color:0x88bea6, time:5});

...the tween works fine on the mc "navEnlighten".

The mc "navEnlighten" is only one frame long and has the two children above and a couple other mcs in it.

Any ideas as to what I'm missing would be greatly appreciated. It feels like I'm missing something fundamental here but not sure what it is.

Thanks in advance,
Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20080704/9f886846/attachment.htm>


More information about the Tweener mailing list