Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling removeTweens() before one has been added causes Tweener to crash #87

Open
GoogleCodeExporter opened this issue Oct 29, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Normally when you tween something, you can make a call to 
Tweener.removeTweens(this) beforehand, to remove any current tweens. If you do 
this before a call to addTween() (or any other function that calls init()), 
Tweener will crash as _specialPropertySplitterList is null. Technically we 
could call init() ourselves, but there's no check in init() to see if the 
engine is already inited, and if so, quit out, meaning that it's possible to 
clear the objects created.

Q. What is the expected outcome? What happens instead?
Tweener should call init(), and shouldn't crash.

Q. What code will reproduce the problem?
Just call Tweener.removeTween() before adding anything

Q. What version of the class are you using, and under which development 
environment (IDE version, compiler, etc)?
It's present in the latest download (tweener_1_33_74_as3.zip)

Please provide any additional information below. Also, please attach *small*, 
sample files with minimum functionality to reproduce the problem if possible.

Original issue reported on code.google.com by [email protected] on 28 Sep 2012 at 9:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant