[Tweener] special properties in new Tweener (AS3)
Kaspar V
kirjuta at gmail.com
Fri Mar 28 02:38:41 PDT 2008
Thanks!
Is there a way to use special properties without tweener, for example
set _brightness something other than 0 and then tween it?
2008/3/24, Zeh Fernando <zehfernando at zeh.com.br>:
>
>
> Kaspar V wrote:
> > I upgraded Tweener from version 1.26 to 1.31.
> > I had
> >
> > Tweener.addTween(this, {_color:0xFFFFFF, time:.2, transition:"linear"})
> >
> > and now it generates error
> >
> > ReferenceError: Error #1069: Property _color not found on Menuitem and
> > there is no default value.
> > at caurina.transitions::Tweener$/addTween()
> > at Menuitem/mouseover()
> >
> > Do I have to initialize special properties somehow?
> > Just importing (import caurina.transitions.properties.*) doesn't
> > change anyting...
>
>
> Yes:
>
> ColorShortcuts.init();
>
> That's needed only once on your entire application.
>
> Those special properties ("_color", et al) were moved to their own
> classes. They're optional so they need initialization.
>
>
> Zeh
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
More information about the Tweener
mailing list