On Tue, Feb 2, 2010 at 9:03 AM, Glen Pike <[email protected]> wrote:

> So you are adding the myThumb and Tweening it somewhere?
>
> You might want to make myThumb do the Tween again from other frames in your
> movie?
>
> Maybe define a function in your class that is not depending on the
> ENTER_FRAME event?
>
> public function doTween():void {
> addChild(myThumb):
>
> TweenMax.to(myThumb, .4, {shortRotation:{rotation:60},
> ease:Back.easeOut,/onComplete/:onFinishTween});
>
> }
>

That looks like the idea I need. However, I changed this line:
addChild(myThumb):
to this:
addChild(myThumb);
(colon to semicolon)

I still get errors with this line:
TweenMax.to(myThumb, .4, {shortRotation:{rotation:60},
ease:Back.easeOut,/onComplete/:onFinishTween});

1084: Syntax error: Expecting identifier before /onComplete/
1084: Syntax error: Expecting colon before rightbrace
1084: Syntax error: Expecting identifier before rightbrace

Please advise.
TIA,
beno
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to