[Tweener] color tween

Zeh Fernando zehfernando at zeh.com.br
Tue May 6 13:11:32 PDT 2008


It should work on both 7 and 8.

Remember ColorShortcuts must be ran before any _color tween (and only 
needs to be called once for your entire application).

Zeh

Brian Forstat wrote:
> I am in Flash 7. But I changed it to 8 and change the class to the one 
> for 8 and it still did the same thing. 
> 
> 
> 
> On May 6, 2008, at 10:58 AM, Baluta Cristian wrote:
> 
>> strange, this is the way it works for me.
>>
>> On Tue, May 6, 2008 at 8:37 PM, Brian Forstat 
>> <brian at agilitygraphics.com <mailto:brian at agilitygraphics.com>> wrote:
>>
>>     Nothing seems to happen if I have:
>>     import caurina.transitions.properties.ColorShortcuts;
>>     ColorShortcuts.init();
>>
>>     If I have:
>>     import caurina.transitions.*;
>>     import caurina.transitions.properties.ColorShortcuts;
>>     ColorShortcuts.init();
>>
>>     I get the same  error. 
>>
>>     Thank you for the help!
>>
>>
>>
>>
>>     On May 6, 2008, at 10:32 AM, Baluta Cristian wrote:
>>
>>>     "properties.ColorShortcuts"
>>>
>>>     On Tue, May 6, 2008 at 8:30 PM, Baluta Cristian
>>>     <cristi.baluta at gmail.com <mailto:cristi.baluta at gmail.com>> wrote:
>>>
>>>         import caurina.transitions.propertie.ColorShortuts;
>>>
>>>         ColorShortcuts.init();
>>>
>>>
>>>         On Tue, May 6, 2008 at 8:23 PM, Brian Forstat
>>>         <brian at agilitygraphics.com
>>>         <mailto:brian at agilitygraphics.com>> wrote:
>>>
>>>             Hi, I am trying to tween the color of a MC.
>>>
>>>             I have this function, but it keeps giving me the
>>>             following error message.
>>>
>>>             function btnRollOver(whichBtn:MovieClip, theColor:Number,
>>>             duration:Number):Void {
>>>                    Tweener.addTween(whichBtn, {_color:theColor,
>>>             time:duration, transition:"linear"});
>>>             }
>>>
>>>             ## [Tweener] Error: The property '_color' doesn't seem to
>>>             be a normal object property of [object Object] or a
>>>             registered special property
>>>
>>>
>>>             What does this mean? I am not even sure where to start
>>>             looking.
>>>
>>>             Thanks a lot for any help!
>>>
>>>             _______________________________________________
>>>             Tweener mailing list
>>>             Tweener at lists.caurinauebi.com
>>>             <mailto:Tweener at lists.caurinauebi.com>
>>>             http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>>>
>>>
>>>
>>>
>>>         -- 
>>>         Cristi
>>>         www.ralcr.com <http://www.ralcr.com>
>>>
>>>
>>>
>>>
>>>     -- 
>>>     Cristi
>>>     www.ralcr.com <http://www.ralcr.com>
>>>     _______________________________________________
>>>     Tweener mailing list
>>>     Tweener at lists.caurinauebi.com <mailto:Tweener at lists.caurinauebi.com>
>>>     http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>>
>>
>>     _______________________________________________
>>     Tweener mailing list
>>     Tweener at lists.caurinauebi.com <mailto:Tweener at lists.caurinauebi.com>
>>     http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>>
>>
>>
>>
>> -- 
>> Cristi
>> www.ralcr.com <http://www.ralcr.com>
>> _______________________________________________
>> Tweener mailing list
>> Tweener at lists.caurinauebi.com <mailto:Tweener at lists.caurinauebi.com>
>> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com


More information about the Tweener mailing list