[Tweener] another day, another Tweener question

Chris Lamothe clamothe at gmail.com
Wed Mar 26 20:06:31 PDT 2008


a little something like so:

mcFlippingPage = new Square();
mcFlippingPage.transform.colorTransform =  
FLIPPING_PAGE_COLOR_TRANSFORM; // This is library pull and initial  
colorization.

Tweener.addTween( mcFlippingPage, { width : LEFT_IMAGE_WIDTH,  
_brightness : 0.5, time : FLIP_DURATION, transition : FLIP_TRANSITION,  
onComplete : openNextImageRight } );

as I'm writing this I'm seeing that it's probably my  
FLIPPING_PAGE_COLOR_TRANSFORM object that needs to start at the orange/ 
black combo and then the tween can take it to pure orange?

On Mar 26, 2008, at 11:03 PM, Zeh Fernando wrote:

What code did you use to do the _brightness transition?


Zeh

Chris Lamothe wrote:
> ok, gotta be more specific as I'm not quite sure what combination of
> these attributes to use in order to achieve this affect.
>
> I've got a movieclip that I pull from the library at runtime, color it
> orange with a colorTransform object, then I set Tweener loose on it to
> do the resizing bit.
>
> I've tried just adding _brightness to that addTween call, but it goes
> immediately to black, vs. a gradual transition.
>
> help a brother out?
>
> On Mar 26, 2008, at 10:19 PM, Zeh Fernando wrote:
>
> Well yes, just use ColorShortcuts and animate with _brightness and  
> such.
>
> Zeh
>
> Chris Lamothe wrote:
>> hey kids,
>>
>> back for more...
>>
>> I'd like to use Tweener to transform an orange colored sprite to an
>> orange/black color. see attachments for example (will attachments  
>> make
>> it across this list?). basically, I'm simulating a page turn, and as
>> the
>> page turns, I need to simulate the effect of light and shadow.
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tweener mailing list
>> 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
>
> _______________________________________________
> Tweener mailing list
> 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