road0001 / tweener

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

Problems with scale tweens on flex components #75

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I created a flex component of a bowling ball movie clip using flash and 
exporting it using Flex Component Kit.  Whenever I try to do a scale tween, I 
get some strange results.  The scale just flickers to the appropriate size 
and then changes back to the original size.  I've included sample code.

Tweener version 1.33.74

Flash Builder 4 IDE using Flex sdk 3.5 targeting flash player 10

Original issue reported on code.google.com by dbdav...@gmail.com on 10 May 2010 at 5:51

Attachments:

GoogleCodeExporter commented 8 years ago
It looks like this problem also extends to using the alpha property.  The 
following 
line:
Tweener.addTween(this, {alhpa:0, time:0.5, transition:"linear", 
onComplete:dispatchRemoveBall});

produced this error:
## [Tweener] Error: [object Ball] raised an error while executing the 
'onComplete'handler. 
ReferenceError: Error #1069: Property alhpa not found on Ball and there is no 
default 
value.
    at caurina.transitions::Tweener$/addTween()[C:\Users\Daniel B. 
Davis.SPANISHPROGRAMS\Code Repository\Code 
Library\caurina\transitions\Tweener.as:157]
    at Ball/fadeOutBall()[C:\Users\Daniel B. Davis.SPANISHPROGRAMS\Adobe Flash 
Builder\Bowling\src\Ball.as:63]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()[C:\Users\Daniel B. 
Davis.SPANISHPROGRAMS\Code Repository\Code 
Library\caurina\transitions\Tweener.as:860]
    at caurina.transitions::Tweener$/updateTweens()[C:\Users\Daniel B. 
Davis.SPANISHPROGRAMS\Code Repository\Code 
Library\caurina\transitions\Tweener.as:651]
    at caurina.transitions::Tweener$/onEnterFrame()[C:\Users\Daniel B. 
Davis.SPANISHPROGRAMS\Code Repository\Code 
Library\caurina\transitions\Tweener.as:986]

In my line of code above, "this" is a class Called Ball that extends a flex 
component 
class that I created by exporting a movie clip as a flex component from flash 
using 
component kit.

Original comment by dbdav...@gmail.com on 12 May 2010 at 12:27