Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions