road0001 / tweener

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

Not listed tweening parameter "shift" throws exception for addTween() #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In case of a defect report, please use this form for *VERIFIED* bugs only. If 
you're unsure whether this is a defect or not, or you're unsure you're using 
the right syntax, use the mailing list first to ask for advice or to check if 
you're doing anything wrong.

Q. What is the expected outcome? What happens instead?

Expected outcome: tweening arbitrary object's "shift" parameter to a desired 
value. Object is not an instance of Array. It has it's own getter/setter pait 
called "shift". Note that renaming "shift" to "shift1" solves the problm. 
However "shift" is not a listed parameter of tween parameters list, so it's 
expected that it's behavior is standard.

What happens:
Main Thread (Suspended: ReferenceError: Error #1037: Cannot assign to a method 
shift on Array.)
    caurina.transitions::Tweener$/addTween  
    ...

Q. What code will reproduce the problem?

Tweener.addTween(someObjectWithShiftProperty, {time: 1, shift: 9001});

Q. What version of the class are you using, and under which development 
environment (IDE version, compiler, etc)?

Version 1.33.74
Standalone Flash Builder 4 Premium on Mac.

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 rawmant...@gmail.com on 20 Jan 2012 at 3:23

Attachments: