What would be the quickest most efficient way to apply a ColorTransform and set the rgb property on a MovieClip?
With the Color object, you could use the following line: (new Color(my_mc)).setRGB(0xFFFF00); ... and if you extended the Color class and added an rgb getter setter, the following would work as well: (new XColor(my_mc)).rgb = 0xFFFF00; ... but with ColorTransform, I can't seem to find a single line solution. I've tried: (my_mc.transform.colorTransform = new ColorTransform ()).rgb = 0xFFFF00; ... which doesn't work, although it also doesn't throw an error. I know that I can pass in all the parameters (rm, gm, bm, etc) into the ColorTransform constructor and get it to work on a single line, but I've extended the ColorTransform class and want to be able to call the methods and properties the most efficiently. If anyone could help, that would be very much appreciated. Thanks. _______________________________________________ Flashcoders@chattyfig.figleaf.com 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