>>Please, test the code below: >> >>import flash.geom.Transform; >>import flash.geom.ColorTransform; >>var transf:Transform = new Transform(mc); var >>color:ColorTransform = new ColorTransform(); >>transf.colorTransform = color; color.rgb = 0x990000; >>trace(color.rgb); trace("0x"+color.rgb.toString(16)); >>if (parseInt(color.rgb.toString(16)) === 990000) { trace("ok"); } >> >>[]'s >>Leandro Amano
I believe he's asking to check color on an existing movie clip, not something you set via ColorTransform. I don't think it's possible is it? And by the way, curious what []'s is used for in your sig - some inside joke or something subtle I don't get? Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team _______________________________________________ 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