by the way do you know a better way to get the hex values??
is there any function to make that??
Unless I've misunderstood you (which is always possible :-/):-
for (var i=0,color="#"; i<3; i++)
{
}
"| 0" is the quicky trick I use to convert the (floating point) result to an integer.
But whether you think this is easier than what you're doing already is another question entirely. :-)
Cheers, .....Nick Pelling..... // Aardvark Software _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-help