[Tweener] Noob Issue

Andrei Thomaz andreithomaz at gmail.com
Mon Jul 7 05:55:58 PDT 2008


have you tried to trace the target of tweens? something like:

trace(navEnlighten.bg);
trace(navEnlighten.btnlabel)


andrei



On Sat, Jul 5, 2008 at 2:31 AM, accounts <accounts at coalescentdesign.com>
wrote:

>
> 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
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20080707/e24a4d3b/attachment.htm>


More information about the Tweener mailing list