I have run into similar problems with tweens and I fixed it by stopping the
tweens before I start them on every button.
 
Inside your event handler:

Tweenname.stop();
Tweenname.start();

Or 

Tweenname.stop();
Tweenname = new Tween(prop, prop);

I don't use lacos tweens by themselves so I don't know the exact syntax,
but something like that should work. 

 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Cannon
Sent: Friday, November 03, 2006 9:40 AM
To: Flashcoders mailing list
Subject: [Flashcoders] AS Tweening. Approach to prevent tween clashing?

Hi All,

I've been building sites with laco's tweens for a good while.

Occasionally I've come accross problems when you click on buttons
really fast in sucession. If one item is still tweening you can end up
with unpredictable results.

Does anyone have any advise on what approach I can take to avoid that.
I'm real trouble figuring out what specifically is causing the
problem, even though I understand the general problem.

Has anyone any advice,

Thanks,

- Kevin
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to