Re: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Jiri

He Cor,

the question is. I want to tween a clip its color to a certain hex Value.

So the equivalent of this in TweenLite:
TweenLite.to(mc, 1, {tint:0xff9900});

Cheers,

Jiri




Cor wrote:

No, yours.
Yes it does flicker, but as I said, I don't think I understand the question
correctly.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: vrijdag 10 april 2009 18:12
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

Cor, does it really works. I get a flickering. That is my clip is during 
the period of transition changing color very rapidly and then ends with 
the color it should end with.

What code did u use, the one Joel Stransky posted

coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
 > redOffset:255, greenOffset:255, blueOffset:255 }, { 
ease:Circular.easeOut }

 > );
 > coltw.setAssignment(theclip.transform, "colorTransform");

Jiri

Cor wrote:

@jiri,

OK, got the classes, and it transforms OK.
Or maybe I don't understand the problem?

Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: vrijdag 10 april 2009 17:35
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

That's what I had, but then for hex value, resulting in a flickering, 
probably because it sets back the color through the setAssigment..


import fl.motion.easing.*;
import com.gskinner.motion.*
var colorInfo:ColorTransform = clip.transform.colorTransform;
var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

Quess I will need to do the calculations to the offsets by hand then. I 
tought, like all the other tween engines, a to hex value would be easy 
to do.


@cor,
thank you for the offer to send you the .fla, but pasting the code above 
would be the same.


Jiri





Paul Venton wrote:

Taken a look at the comments on here:
http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after

a

quick search on Google.

coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut

}

);
coltw.setAssignment(theclip.transform, "colorTransform");


I've not tested it since I use TweenLite/Max - it should at least give

you

some idea.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: 10 April 2009 10:39
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

Is there really nobody that knows how to do it?

Jiri

Karl DeSaulniers wrote:

Oh yeah, TweenLite is really easy and a realy great class.
TweenMax too. They definately have tween for color. And MUCH more.
Worth its weight in gold.

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 8, 2009, at 7:27 PM, Muzak wrote:


but is there really nobody out there who knows how to do it ?

I'm sure Mr. Google knows.


http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
n+color 

And I'm pretty sure AnimationPackage has some color stuff.
http://www.alex-uhlmann.de/flash/animationpackage/

- Original Message - From: "Jiri"



To: "Flash Coders List" 
Sent: Wednesday, April 08, 2009 8:11 PM
Subject: Re: [Flashcoders] ColorTransform GTween


Thanx Ashum...,but is there really nobody out there who knows how to 
do it ?

Jiri
Ashim D'Silva wrote:

Never used GTween before, but Grant is joining forces with Jack Doyle
of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon, you
should get the best of both worlds.
2009/4/9 Jiri :
I am experimenting with GTween from Grant Skinner. I cant seem to 
figure out

how to do a color transform. Does somebody know how to do that?
Here is what i have:

import fl.motion.easing.*;
import com.gskinner.motion.*

var colorInfo:ColorTransform = clip.transform.colorTransform;

trace(colorInfo);

var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

//resulting in flickering of color of the clip.

Jiri

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Cor
No, yours.
Yes it does flicker, but as I said, I don't think I understand the question
correctly.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: vrijdag 10 april 2009 18:12
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

Cor, does it really works. I get a flickering. That is my clip is during 
the period of transition changing color very rapidly and then ends with 
the color it should end with.
What code did u use, the one Joel Stransky posted

coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
 > redOffset:255, greenOffset:255, blueOffset:255 }, { 
ease:Circular.easeOut }
 > );
 > coltw.setAssignment(theclip.transform, "colorTransform");

Jiri

Cor wrote:
> @jiri,
> 
> OK, got the classes, and it transforms OK.
> Or maybe I don't understand the problem?
> 
> Cor
> 
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
> Sent: vrijdag 10 april 2009 17:35
> To: Flash Coders List
> Subject: Re: [Flashcoders] ColorTransform GTween
> 
> That's what I had, but then for hex value, resulting in a flickering, 
> probably because it sets back the color through the setAssigment..
> 
> import fl.motion.easing.*;
> import com.gskinner.motion.*
> var colorInfo:ColorTransform = clip.transform.colorTransform;
> var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
> myTween.setAssignment(clip.transform,"colorTransform");
> 
> Quess I will need to do the calculations to the offsets by hand then. I 
> tought, like all the other tween engines, a to hex value would be easy 
> to do.
> 
> @cor,
> thank you for the offer to send you the .fla, but pasting the code above 
> would be the same.
> 
> Jiri
> 
> 
> 
> 
> 
> Paul Venton wrote:
>> Taken a look at the comments on here:
>> http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after
a
>> quick search on Google.
>>
>> coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
>> redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut
> }
>> );
>> coltw.setAssignment(theclip.transform, "colorTransform");
>>
>>
>> I've not tested it since I use TweenLite/Max - it should at least give
you
>> some idea.
>>
>> -Original Message-
>> From: flashcoders-boun...@chattyfig.figleaf.com
>> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
>> Sent: 10 April 2009 10:39
>> To: Flash Coders List
>> Subject: Re: [Flashcoders] ColorTransform GTween
>>
>> Is there really nobody that knows how to do it?
>>
>> Jiri
>>
>> Karl DeSaulniers wrote:
>>> Oh yeah, TweenLite is really easy and a realy great class.
>>> TweenMax too. They definately have tween for color. And MUCH more.
>>> Worth its weight in gold.
>>>
>>> Karl DeSaulniers
>>> Design Drumm
>>> http://designdrumm.com
>>>
>>> On Apr 8, 2009, at 7:27 PM, Muzak wrote:
>>>
>>>>> but is there really nobody out there who knows how to do it ?
>>>> I'm sure Mr. Google knows.
>>>>
>
http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
>> n+color 
>>>> And I'm pretty sure AnimationPackage has some color stuff.
>>>> http://www.alex-uhlmann.de/flash/animationpackage/
>>>>
>>>> - Original Message - From: "Jiri"

>>>> To: "Flash Coders List" 
>>>> Sent: Wednesday, April 08, 2009 8:11 PM
>>>> Subject: Re: [Flashcoders] ColorTransform GTween
>>>>
>>>>
>>>>> Thanx Ashum...,but is there really nobody out there who knows how to 
>>>>> do it ?
>>>>> Jiri
>>>>> Ashim D'Silva wrote:
>>>>>> Never used GTween before, but Grant is joining forces with Jack Doyle
>>>>>> of TweenLite, and that library is incredibly easy to use. If the
>>>>>> possibility exists, you might want to switch libraries, and soon, you
>>>>>> should get the best of both worlds.
>>>>>> 2009/4/9 Jiri :
>>>>>>> I am experimenting with GTween from Grant Skinner. I cant seem to 
>>>>>>> figure out
>>>>>>> how to do a color transform. Does somebody know how to do that?
>>>>>>> Here is what i have:
>>>>>&

Re: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Jiri
Cor, does it really works. I get a flickering. That is my clip is during 
the period of transition changing color very rapidly and then ends with 
the color it should end with.

What code did u use, the one Joel Stransky posted

coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
> redOffset:255, greenOffset:255, blueOffset:255 }, { 
ease:Circular.easeOut }

> );
> coltw.setAssignment(theclip.transform, "colorTransform");

Jiri

Cor wrote:

@jiri,

OK, got the classes, and it transforms OK.
Or maybe I don't understand the problem?

Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: vrijdag 10 april 2009 17:35
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

That's what I had, but then for hex value, resulting in a flickering, 
probably because it sets back the color through the setAssigment..


import fl.motion.easing.*;
import com.gskinner.motion.*
var colorInfo:ColorTransform = clip.transform.colorTransform;
var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

Quess I will need to do the calculations to the offsets by hand then. I 
tought, like all the other tween engines, a to hex value would be easy 
to do.


@cor,
thank you for the offer to send you the .fla, but pasting the code above 
would be the same.


Jiri





Paul Venton wrote:

Taken a look at the comments on here:
http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
quick search on Google.

coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut

}

);
coltw.setAssignment(theclip.transform, "colorTransform");


I've not tested it since I use TweenLite/Max - it should at least give you
some idea.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: 10 April 2009 10:39
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

Is there really nobody that knows how to do it?

Jiri

Karl DeSaulniers wrote:

Oh yeah, TweenLite is really easy and a realy great class.
TweenMax too. They definately have tween for color. And MUCH more.
Worth its weight in gold.

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 8, 2009, at 7:27 PM, Muzak wrote:


but is there really nobody out there who knows how to do it ?

I'm sure Mr. Google knows.


http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
n+color 

And I'm pretty sure AnimationPackage has some color stuff.
http://www.alex-uhlmann.de/flash/animationpackage/

- Original Message - From: "Jiri" 
To: "Flash Coders List" 
Sent: Wednesday, April 08, 2009 8:11 PM
Subject: Re: [Flashcoders] ColorTransform GTween


Thanx Ashum...,but is there really nobody out there who knows how to 
do it ?

Jiri
Ashim D'Silva wrote:

Never used GTween before, but Grant is joining forces with Jack Doyle
of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon, you
should get the best of both worlds.
2009/4/9 Jiri :
I am experimenting with GTween from Grant Skinner. I cant seem to 
figure out

how to do a color transform. Does somebody know how to do that?
Here is what i have:

import fl.motion.easing.*;
import com.gskinner.motion.*

var colorInfo:ColorTransform = clip.transform.colorTransform;

trace(colorInfo);

var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

//resulting in flickering of color of the clip.

Jiri

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.287 / Virus Database: 270.11.49/2050 - Release Date: 04/09/09

19:01:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/

RE: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Cor
@jiri,

OK, got the classes, and it transforms OK.
Or maybe I don't understand the problem?

Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: vrijdag 10 april 2009 17:35
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

That's what I had, but then for hex value, resulting in a flickering, 
probably because it sets back the color through the setAssigment..

import fl.motion.easing.*;
import com.gskinner.motion.*
var colorInfo:ColorTransform = clip.transform.colorTransform;
var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

Quess I will need to do the calculations to the offsets by hand then. I 
tought, like all the other tween engines, a to hex value would be easy 
to do.

@cor,
thank you for the offer to send you the .fla, but pasting the code above 
would be the same.

Jiri





Paul Venton wrote:
> Taken a look at the comments on here:
> http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
> quick search on Google.
> 
> coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
> redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut
}
> );
> coltw.setAssignment(theclip.transform, "colorTransform");
> 
> 
> I've not tested it since I use TweenLite/Max - it should at least give you
> some idea.
> 
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
> Sent: 10 April 2009 10:39
> To: Flash Coders List
> Subject: Re: [Flashcoders] ColorTransform GTween
> 
> Is there really nobody that knows how to do it?
> 
> Jiri
> 
> Karl DeSaulniers wrote:
>> Oh yeah, TweenLite is really easy and a realy great class.
>> TweenMax too. They definately have tween for color. And MUCH more.
>> Worth its weight in gold.
>>
>> Karl DeSaulniers
>> Design Drumm
>> http://designdrumm.com
>>
>> On Apr 8, 2009, at 7:27 PM, Muzak wrote:
>>
>>>> but is there really nobody out there who knows how to do it ?
>>> I'm sure Mr. Google knows.
>>>
>
http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
> n+color 
>>>
>>> And I'm pretty sure AnimationPackage has some color stuff.
>>> http://www.alex-uhlmann.de/flash/animationpackage/
>>>
>>> - Original Message - From: "Jiri" 
>>> To: "Flash Coders List" 
>>> Sent: Wednesday, April 08, 2009 8:11 PM
>>> Subject: Re: [Flashcoders] ColorTransform GTween
>>>
>>>
>>>> Thanx Ashum...,but is there really nobody out there who knows how to 
>>>> do it ?
>>>> Jiri
>>>> Ashim D'Silva wrote:
>>>>> Never used GTween before, but Grant is joining forces with Jack Doyle
>>>>> of TweenLite, and that library is incredibly easy to use. If the
>>>>> possibility exists, you might want to switch libraries, and soon, you
>>>>> should get the best of both worlds.
>>>>> 2009/4/9 Jiri :
>>>>>> I am experimenting with GTween from Grant Skinner. I cant seem to 
>>>>>> figure out
>>>>>> how to do a color transform. Does somebody know how to do that?
>>>>>> Here is what i have:
>>>>>>
>>>>>> import fl.motion.easing.*;
>>>>>> import com.gskinner.motion.*
>>>>>>
>>>>>> var colorInfo:ColorTransform = clip.transform.colorTransform;
>>>>>>
>>>>>> trace(colorInfo);
>>>>>>
>>>>>> var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
>>>>>> myTween.setAssignment(clip.transform,"colorTransform");
>>>>>>
>>>>>> //resulting in flickering of color of the clip.
>>>>>>
>>>>>> Jiri
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.287 / Virus Database: 270.11.49/2050 - Release Date: 04/09/09
19:01:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Joel Stransky
Keep in mind gTween will only have one final version due to the merger.

On Fri, Apr 10, 2009 at 6:05 AM, Paul Venton wrote:

> Taken a look at the comments on here:
> http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
> quick search on Google.
>
> coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
> redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut }
> );
> coltw.setAssignment(theclip.transform, "colorTransform");
>
>
> I've not tested it since I use TweenLite/Max - it should at least give you
> some idea.
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
> Sent: 10 April 2009 10:39
> To: Flash Coders List
> Subject: Re: [Flashcoders] ColorTransform GTween
>
> Is there really nobody that knows how to do it?
>
> Jiri
>
> Karl DeSaulniers wrote:
> > Oh yeah, TweenLite is really easy and a realy great class.
> > TweenMax too. They definately have tween for color. And MUCH more.
> > Worth its weight in gold.
> >
> > Karl DeSaulniers
> > Design Drumm
> > http://designdrumm.com
> >
> > On Apr 8, 2009, at 7:27 PM, Muzak wrote:
> >
> >>> but is there really nobody out there who knows how to do it ?
> >>
> >> I'm sure Mr. Google knows.
> >>
>
> http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
> n+color
> >>
> >>
> >> And I'm pretty sure AnimationPackage has some color stuff.
> >> http://www.alex-uhlmann.de/flash/animationpackage/
> >>
> >> - Original Message - From: "Jiri"  >
> >> To: "Flash Coders List" 
> >> Sent: Wednesday, April 08, 2009 8:11 PM
> >> Subject: Re: [Flashcoders] ColorTransform GTween
> >>
> >>
> >>> Thanx Ashum...,but is there really nobody out there who knows how to
> >>> do it ?
> >>> Jiri
> >>> Ashim D'Silva wrote:
> >>>> Never used GTween before, but Grant is joining forces with Jack Doyle
> >>>> of TweenLite, and that library is incredibly easy to use. If the
> >>>> possibility exists, you might want to switch libraries, and soon, you
> >>>> should get the best of both worlds.
> >>>> 2009/4/9 Jiri :
> >>>>> I am experimenting with GTween from Grant Skinner. I cant seem to
> >>>>> figure out
> >>>>> how to do a color transform. Does somebody know how to do that?
> >>>>> Here is what i have:
> >>>>>
> >>>>> import fl.motion.easing.*;
> >>>>> import com.gskinner.motion.*
> >>>>>
> >>>>> var colorInfo:ColorTransform = clip.transform.colorTransform;
> >>>>>
> >>>>> trace(colorInfo);
> >>>>>
> >>>>> var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
> >>>>> myTween.setAssignment(clip.transform,"colorTransform");
> >>>>>
> >>>>> //resulting in flickering of color of the clip.
> >>>>>
> >>>>> Jiri
> >>
> >> ___
> >> Flashcoders mailing list
> >> Flashcoders@chattyfig.figleaf.com
> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Cor
If I had the com.gskinner class it would indeed.

Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: vrijdag 10 april 2009 17:35
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

That's what I had, but then for hex value, resulting in a flickering, 
probably because it sets back the color through the setAssigment..

import fl.motion.easing.*;
import com.gskinner.motion.*
var colorInfo:ColorTransform = clip.transform.colorTransform;
var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

Quess I will need to do the calculations to the offsets by hand then. I 
tought, like all the other tween engines, a to hex value would be easy 
to do.

@cor,
thank you for the offer to send you the .fla, but pasting the code above 
would be the same.

Jiri





Paul Venton wrote:
> Taken a look at the comments on here:
> http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
> quick search on Google.
> 
> coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
> redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut
}
> );
> coltw.setAssignment(theclip.transform, "colorTransform");
> 
> 
> I've not tested it since I use TweenLite/Max - it should at least give you
> some idea.
> 
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
> Sent: 10 April 2009 10:39
> To: Flash Coders List
> Subject: Re: [Flashcoders] ColorTransform GTween
> 
> Is there really nobody that knows how to do it?
> 
> Jiri
> 
> Karl DeSaulniers wrote:
>> Oh yeah, TweenLite is really easy and a realy great class.
>> TweenMax too. They definately have tween for color. And MUCH more.
>> Worth its weight in gold.
>>
>> Karl DeSaulniers
>> Design Drumm
>> http://designdrumm.com
>>
>> On Apr 8, 2009, at 7:27 PM, Muzak wrote:
>>
>>>> but is there really nobody out there who knows how to do it ?
>>> I'm sure Mr. Google knows.
>>>
>
http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
> n+color 
>>>
>>> And I'm pretty sure AnimationPackage has some color stuff.
>>> http://www.alex-uhlmann.de/flash/animationpackage/
>>>
>>> - Original Message - From: "Jiri" 
>>> To: "Flash Coders List" 
>>> Sent: Wednesday, April 08, 2009 8:11 PM
>>> Subject: Re: [Flashcoders] ColorTransform GTween
>>>
>>>
>>>> Thanx Ashum...,but is there really nobody out there who knows how to 
>>>> do it ?
>>>> Jiri
>>>> Ashim D'Silva wrote:
>>>>> Never used GTween before, but Grant is joining forces with Jack Doyle
>>>>> of TweenLite, and that library is incredibly easy to use. If the
>>>>> possibility exists, you might want to switch libraries, and soon, you
>>>>> should get the best of both worlds.
>>>>> 2009/4/9 Jiri :
>>>>>> I am experimenting with GTween from Grant Skinner. I cant seem to 
>>>>>> figure out
>>>>>> how to do a color transform. Does somebody know how to do that?
>>>>>> Here is what i have:
>>>>>>
>>>>>> import fl.motion.easing.*;
>>>>>> import com.gskinner.motion.*
>>>>>>
>>>>>> var colorInfo:ColorTransform = clip.transform.colorTransform;
>>>>>>
>>>>>> trace(colorInfo);
>>>>>>
>>>>>> var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
>>>>>> myTween.setAssignment(clip.transform,"colorTransform");
>>>>>>
>>>>>> //resulting in flickering of color of the clip.
>>>>>>
>>>>>> Jiri
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.287 / Virus Database: 270.11.49/2050 - Release Date: 04/09/09
19:01:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Jiri
That's what I had, but then for hex value, resulting in a flickering, 
probably because it sets back the color through the setAssigment..


import fl.motion.easing.*;
import com.gskinner.motion.*
var colorInfo:ColorTransform = clip.transform.colorTransform;
var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

Quess I will need to do the calculations to the offsets by hand then. I 
tought, like all the other tween engines, a to hex value would be easy 
to do.


@cor,
thank you for the offer to send you the .fla, but pasting the code above 
would be the same.


Jiri





Paul Venton wrote:

Taken a look at the comments on here:
http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
quick search on Google.

coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut }
);
coltw.setAssignment(theclip.transform, "colorTransform");


I've not tested it since I use TweenLite/Max - it should at least give you
some idea.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: 10 April 2009 10:39
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

Is there really nobody that knows how to do it?

Jiri

Karl DeSaulniers wrote:

Oh yeah, TweenLite is really easy and a realy great class.
TweenMax too. They definately have tween for color. And MUCH more.
Worth its weight in gold.

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 8, 2009, at 7:27 PM, Muzak wrote:


but is there really nobody out there who knows how to do it ?

I'm sure Mr. Google knows.


http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
n+color 


And I'm pretty sure AnimationPackage has some color stuff.
http://www.alex-uhlmann.de/flash/animationpackage/

- Original Message - From: "Jiri" 
To: "Flash Coders List" 
Sent: Wednesday, April 08, 2009 8:11 PM
Subject: Re: [Flashcoders] ColorTransform GTween


Thanx Ashum...,but is there really nobody out there who knows how to 
do it ?

Jiri
Ashim D'Silva wrote:

Never used GTween before, but Grant is joining forces with Jack Doyle
of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon, you
should get the best of both worlds.
2009/4/9 Jiri :
I am experimenting with GTween from Grant Skinner. I cant seem to 
figure out

how to do a color transform. Does somebody know how to do that?
Here is what i have:

import fl.motion.easing.*;
import com.gskinner.motion.*

var colorInfo:ColorTransform = clip.transform.colorTransform;

trace(colorInfo);

var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

//resulting in flickering of color of the clip.

Jiri

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Paul Venton
Taken a look at the comments on here:
http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
quick search on Google.

coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut }
);
coltw.setAssignment(theclip.transform, "colorTransform");


I've not tested it since I use TweenLite/Max - it should at least give you
some idea.

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jiri
Sent: 10 April 2009 10:39
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween

Is there really nobody that knows how to do it?

Jiri

Karl DeSaulniers wrote:
> Oh yeah, TweenLite is really easy and a realy great class.
> TweenMax too. They definately have tween for color. And MUCH more.
> Worth its weight in gold.
> 
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
> 
> On Apr 8, 2009, at 7:27 PM, Muzak wrote:
> 
>>> but is there really nobody out there who knows how to do it ?
>>
>> I'm sure Mr. Google knows.
>>
http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
n+color 
>>
>>
>> And I'm pretty sure AnimationPackage has some color stuff.
>> http://www.alex-uhlmann.de/flash/animationpackage/
>>
>> - Original Message ----- From: "Jiri" 
>> To: "Flash Coders List" 
>> Sent: Wednesday, April 08, 2009 8:11 PM
>> Subject: Re: [Flashcoders] ColorTransform GTween
>>
>>
>>> Thanx Ashum...,but is there really nobody out there who knows how to 
>>> do it ?
>>> Jiri
>>> Ashim D'Silva wrote:
>>>> Never used GTween before, but Grant is joining forces with Jack Doyle
>>>> of TweenLite, and that library is incredibly easy to use. If the
>>>> possibility exists, you might want to switch libraries, and soon, you
>>>> should get the best of both worlds.
>>>> 2009/4/9 Jiri :
>>>>> I am experimenting with GTween from Grant Skinner. I cant seem to 
>>>>> figure out
>>>>> how to do a color transform. Does somebody know how to do that?
>>>>> Here is what i have:
>>>>>
>>>>> import fl.motion.easing.*;
>>>>> import com.gskinner.motion.*
>>>>>
>>>>> var colorInfo:ColorTransform = clip.transform.colorTransform;
>>>>>
>>>>> trace(colorInfo);
>>>>>
>>>>> var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
>>>>> myTween.setAssignment(clip.transform,"colorTransform");
>>>>>
>>>>> //resulting in flickering of color of the clip.
>>>>>
>>>>> Jiri
>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ColorTransform GTween

2009-04-10 Thread Jiri

Is there really nobody that knows how to do it?

Jiri

Karl DeSaulniers wrote:

Oh yeah, TweenLite is really easy and a realy great class.
TweenMax too. They definately have tween for color. And MUCH more.
Worth its weight in gold.

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 8, 2009, at 7:27 PM, Muzak wrote:


but is there really nobody out there who knows how to do it ?


I'm sure Mr. Google knows.
http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=tween+color 



And I'm pretty sure AnimationPackage has some color stuff.
http://www.alex-uhlmann.de/flash/animationpackage/

- Original Message - From: "Jiri" 
To: "Flash Coders List" 
Sent: Wednesday, April 08, 2009 8:11 PM
Subject: Re: [Flashcoders] ColorTransform GTween


Thanx Ashum...,but is there really nobody out there who knows how to 
do it ?

Jiri
Ashim D'Silva wrote:

Never used GTween before, but Grant is joining forces with Jack Doyle
of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon, you
should get the best of both worlds.
2009/4/9 Jiri :
I am experimenting with GTween from Grant Skinner. I cant seem to 
figure out

how to do a color transform. Does somebody know how to do that?
Here is what i have:

import fl.motion.easing.*;
import com.gskinner.motion.*

var colorInfo:ColorTransform = clip.transform.colorTransform;

trace(colorInfo);

var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

//resulting in flickering of color of the clip.

Jiri


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ColorTransform GTween

2009-04-08 Thread Jiri
Thanks everybody, I am aware of all these other tween packages, but I am 
exploring GTween at the moment.
So it is not so much a question of how to tween color with a Tween 
Package, but more how to do it with GTween, because Google was not 
showing me any results on that.


I geuss not so many people are using GTween, especially not for color 
tranformations.


Jiri

Karl DeSaulniers wrote:

Oh yeah, TweenLite is really easy and a realy great class.
TweenMax too. They definately have tween for color. And MUCH more.
Worth its weight in gold.

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 8, 2009, at 7:27 PM, Muzak wrote:


but is there really nobody out there who knows how to do it ?


I'm sure Mr. Google knows.
http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=tween+color 



And I'm pretty sure AnimationPackage has some color stuff.
http://www.alex-uhlmann.de/flash/animationpackage/

- Original Message - From: "Jiri" 
To: "Flash Coders List" 
Sent: Wednesday, April 08, 2009 8:11 PM
Subject: Re: [Flashcoders] ColorTransform GTween


Thanx Ashum...,but is there really nobody out there who knows how to 
do it ?

Jiri
Ashim D'Silva wrote:

Never used GTween before, but Grant is joining forces with Jack Doyle
of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon, you
should get the best of both worlds.
2009/4/9 Jiri :
I am experimenting with GTween from Grant Skinner. I cant seem to 
figure out

how to do a color transform. Does somebody know how to do that?
Here is what i have:

import fl.motion.easing.*;
import com.gskinner.motion.*

var colorInfo:ColorTransform = clip.transform.colorTransform;

trace(colorInfo);

var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

//resulting in flickering of color of the clip.

Jiri


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ColorTransform GTween

2009-04-08 Thread Karl DeSaulniers

Oh yeah, TweenLite is really easy and a realy great class.
TweenMax too. They definately have tween for color. And MUCH more.
Worth its weight in gold.

Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 8, 2009, at 7:27 PM, Muzak wrote:


but is there really nobody out there who knows how to do it ?


I'm sure Mr. Google knows.
http://www.google.com/search?hl=en&q=tween 
+colortransform&meta=&aq=1&oq=tween+color


And I'm pretty sure AnimationPackage has some color stuff.
http://www.alex-uhlmann.de/flash/animationpackage/

- Original Message - From: "Jiri"  


To: "Flash Coders List" 
Sent: Wednesday, April 08, 2009 8:11 PM
Subject: Re: [Flashcoders] ColorTransform GTween


Thanx Ashum...,but is there really nobody out there who knows how  
to do it ?

Jiri
Ashim D'Silva wrote:
Never used GTween before, but Grant is joining forces with Jack  
Doyle

of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon,  
you

should get the best of both worlds.
2009/4/9 Jiri :
I am experimenting with GTween from Grant Skinner. I cant seem  
to figure out

how to do a color transform. Does somebody know how to do that?
Here is what i have:

import fl.motion.easing.*;
import com.gskinner.motion.*

var colorInfo:ColorTransform = clip.transform.colorTransform;

trace(colorInfo);

var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

//resulting in flickering of color of the clip.

Jiri


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ColorTransform GTween

2009-04-08 Thread Muzak

but is there really nobody out there who knows how to do it ?


I'm sure Mr. Google knows.
http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=tween+color

And I'm pretty sure AnimationPackage has some color stuff.
http://www.alex-uhlmann.de/flash/animationpackage/

- Original Message - 
From: "Jiri" 

To: "Flash Coders List" 
Sent: Wednesday, April 08, 2009 8:11 PM
Subject: Re: [Flashcoders] ColorTransform GTween



Thanx Ashum...,but is there really nobody out there who knows how to do it ?

Jiri

Ashim D'Silva wrote:

Never used GTween before, but Grant is joining forces with Jack Doyle
of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon, you
should get the best of both worlds.

2009/4/9 Jiri :

I am experimenting with GTween from Grant Skinner. I cant seem to figure out
how to do a color transform. Does somebody know how to do that?
Here is what i have:

import fl.motion.easing.*;
import com.gskinner.motion.*

var colorInfo:ColorTransform = clip.transform.colorTransform;

trace(colorInfo);

var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

//resulting in flickering of color of the clip.

Jiri


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ColorTransform GTween

2009-04-08 Thread Jiri

Thanx Ashum...,but is there really nobody out there who knows how to do it ?

Jiri

Ashim D'Silva wrote:

Never used GTween before, but Grant is joining forces with Jack Doyle
of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon, you
should get the best of both worlds.

2009/4/9 Jiri :

I am experimenting with GTween from Grant Skinner. I cant seem to figure out
how to do a color transform. Does somebody know how to do that?
Here is what i have:

import fl.motion.easing.*;
import com.gskinner.motion.*

var colorInfo:ColorTransform = clip.transform.colorTransform;

trace(colorInfo);

var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
myTween.setAssignment(clip.transform,"colorTransform");

//resulting in flickering of color of the clip.

Jiri
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] ColorTransform GTween

2009-04-08 Thread Ashim D'Silva
Never used GTween before, but Grant is joining forces with Jack Doyle
of TweenLite, and that library is incredibly easy to use. If the
possibility exists, you might want to switch libraries, and soon, you
should get the best of both worlds.

2009/4/9 Jiri :
> I am experimenting with GTween from Grant Skinner. I cant seem to figure out
> how to do a color transform. Does somebody know how to do that?
> Here is what i have:
>
> import fl.motion.easing.*;
> import com.gskinner.motion.*
>
> var colorInfo:ColorTransform = clip.transform.colorTransform;
>
> trace(colorInfo);
>
> var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
> myTween.setAssignment(clip.transform,"colorTransform");
>
> //resulting in flickering of color of the clip.
>
> Jiri
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
The Random Lines
My online portfolio
www.therandomlines.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders