On Mon, Feb 9, 2009 at 6:26 PM, ali drongo <alidro...@googlemail.com> wrote: > currColor = Number("0x"+c);
I haven't looked into it in detail, but I think you would want to use parseInt( "0x" + c, 16 ) here. If that doesn't fix it, try tracing the values throughout your conversion and see where it breaks. Mark _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders