[Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal
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

Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Ian Thomas
Haven't tried it - but how about drawing 4 boxes on top of each other, each one with a gradient going from full colour (in the corner - alpha 255) to fully transparent (alpha 0) in the opposite corner? You never know, it might work. :-) Ian On 11/18/05, Claudia Barnal [EMAIL PROTECTED] wrote:

RE: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal
Also, I'm pretty sure that some of the new bitmap manipulation functions included in Flash 8 might help me out, but again, I am a bit lost. _ Be the first to hear what's new at MSN - sign up to our free newsletters!

Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Zeh Fernando
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

Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Ian Thomas
Having just layed it out manually, doing this gets the result you want: - Create a grey filled square (RGBA 128,128,128,255) - Overlay that with a square with gradient from top-right to bottom left RGBA 255,0,0,255 - RGBA 255,0,0,0 - RGBA 255,0,0,0 (i.e. with the alpha set to 0 at the

Re: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal
] 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 12:38:19 -0200 http://www.fnordware.com/superpng/samples.html I’m not really sure what the name

RE: [Flashcoders] Drawing gradients

2005-11-18 Thread Andreas Weber
: [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

RE: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal
WOW!!! 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

RE: [Flashcoders] Drawing gradients

2005-11-18 Thread Claudia Barnal
@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