snakehips2000
Programmer
Can anyone tell me what replaced the Actionscript1 "rgbToHex" function in Actionscript2?
i.e.
Math.rgbToHex = function(r,g,b){
return(r<<16 | g<<8 | b);
}
returns a syntax error in AS2, but compiles fine in AS1.
i.e.
Math.rgbToHex = function(r,g,b){
return(r<<16 | g<<8 | b);
}
returns a syntax error in AS2, but compiles fine in AS1.