That is exactly the kind of stuff I was looking for.

You must obviously be aware of the time you have saved me :)

Thanks a lot!

From: "Andreas Weber" <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Subject: RE: [Flashcoders] Drawing  gradients
Date: Fri, 18 Nov 2005 16:06:31 +0100

Flash's Drawing API only supports linear (or radial) gradients, to get '2D'
or 'tweened' gradients we have to programmatically 'concatenate' 1-pixel
wide gradient-stripes.
My GradientTween class does just this. Use this visual Editor to generate
the necessary code:
http://www.motiondraw.com/md/as_samples/t/gradientTween/gradientTweenEditor.
html

HTH
--------------
Andreas Weber
motiondraw.com



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Claudia
Barnal
Sent: Friday, November 18, 2005 3:15 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Drawing gradients


Hi guys.

I have tried to create a four colored gradient through AS, but I am not
really getting any results.

One example can be found here:

http://www.fnordware.com/superpng/samples.html

I’m not really sure what the name of these type of gradients are, but they
are usually found in color selectors in graphics tools i.e. Photoshop. And
have four colors equally bended from each corner.

Could you give me a hint on how I could achieve this kind of help?

TIA
Claudia


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

_________________________________________________________________
The new MSN Search Toolbar now includes Desktop search! http://toolbar.msn.co.uk/

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

Reply via email to