Generic, auxiliary functions
static public function numberToR(p_num:Number):Number
Gets the R (xx0000) bits from a number
p_num | Number Color number (ie, 0xffff00) |
Number The R value
static public function numberToG(p_num:Number):Number
Gets the G (00xx00) bits from a number
p_num | Number Color number (ie, 0xffff00) |
Number The G value
static public function numberToB(p_num:Number):Number
Gets the B (0000xx) bits from a number
p_num | Number Color number (ie, 0xffff00) |
Number The B value
static public function isInArray(p_string:String, p_array:Array):Boolean
Checks whether a string is on an array
p_string | String String to search for |
p_array | Array Array to be searched |
Boolean Whether the array contains the string or not