Take a look at this.

http://motiondraw.com/md/as_samples/t/gradientTween/gradientTweenEditor.html

I hope this helps
-Steve


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas
Rønning
Sent: Friday, November 04, 2005 3:46 AM
To: Flashcoders mailing list
Subject: [Flashcoders] gradient fills based on temperature maps

I'm building a temperature grid in a 2d array, where i'd like to build 
some kind of smooth gradient based on the entire map.

For instance this map can start red in the top left, fade to a cool blue 
near the center, then flare into red again off to the right, while 
everything else becomes a green tinted blue.

As is i could use the drawing api to draw colored blocks to give the 
impression of such a map, but ideally i'd be able to smooth out the 
values with gradients, because the map is really quite low res.

Anyone got any ideas for this?

- Andreas
_______________________________________________
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

Reply via email to