weimingtom / tweener

Automatically exported from code.google.com/p/tweener
1 stars 0 forks source link

When I delete a "Tweenered" object, throws me an error #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I delete a "Tweenered" object, throws me an error besides I try to remove 
the tween by doing 
this:

Setting tweener:
Tweener.addTween( this, { y: 300, alpha: 1, time: 0.6, 
transition:"easeInOutBack", delay: 
model.delay } );

Removing Tweener:
Tweener.removeTweens( this, "y", "alpha", "onComplete");
parent.removeChild( this ); 

Error: TypeError: Error #1009: Cannot access a property or method of a null 
object reference.

Original issue reported on code.google.com by ncatdesi...@gmail.com on 13 Jun 2009 at 12:22