Howdy,
> You tween objects got garbage collected.
I was bit very hard by that one in a kiosk touch screen that needed to have
certain things happen after the tween was finished. So when garbage
collection stopped the tween, things went very messed up and/or locked up.
:)
Here is how I fixed that:
var tween_handler:Tween;
tween_handler = new Tween(mc,"alpha",Strong.easeInOut,1,0,.5,true);
tween_handler .addEventListener (TweenEvent.MOTION_FINISH, doYourFunction;
function doYourFunction (evt:TweenEvent):void
{
tween_handler .removeEventListener (TweenEvent.MOTION_FINISH,
doYourFunction);
// do your stuff here
}
Then you should be fine,
John
on 5/12/10 2:44 PM, Lehr, Theodore at [email protected] wrote:
> thanks - I'll look into how to do that....
John R. Sweeney Jr.
Interactive Multimedia Developer
OnDemand Interactive Inc
945 Washington Blvd.
Hoffman Estates, IL 60169
Office/Fax: 847.310.5959
Cellular: 847.651.4469
www.ondemandinteractive.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders