I've made sutch class long time ago. MovieClip.beginGradientFill() does that.
2006/1/20, Andrew Widdowson <[EMAIL PROTECTED]>: > > Hi there, > > If you want a "real" rainbow gradient, consider translating the > fortran code found at the following page, which contains a routine for > approximating R/G/B values for a given wavelength of visible light. > Then just do a for loop over approximately 380nm and 780nm. > > http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm > > I knew that minor in physics would be useful at some point.. > > -Andrew Widdowson > _______________________________________________ > 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