Heh--funnily enough, we're doing the exact same thing.

In theory, the best thing to do would be to keep color values and
tween them from one to another over time, creating dynamic gradient
fills each step of the way. In practice, I wonder if this might be
processor overburden for large gradients (ours will be filling the
entire screen). Another route, which might be smoother, would be to
have two movieclips with cacheAsBitmap turned on, one with the old
gradient and one with the new, and alpha-tween from one to the other.

Guess we'll find out soon!

On 12/15/06, Scott Brantley <[EMAIL PROTECTED]> wrote:
I'm building a website. The background for each of the sections of the
site is a different colored linear gradient. Does anyone have any ideas
on how to build a class, prototype or series of functions that will
dynamically change the background gradient from one colored gradient to
another over a period of time? If anyone has any pre-built code and
wouldn't mind sharing I will greatly appreciate it!

Thanks



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry & Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to