Hi, If I store a uint into a Array element as var i:uint = uint.MAX_VALUE; foo[10] = i;
trace(foo[10]) retrieves foo[10] as a signed int and performs a .toString() on it for printing. I tested this with big values for uint, trace() would print negative numbers. My question then is, does an foo[10] loose the type information of "i" ? Specifically I am doing something like (foo[10] >> 8 )& 0xff - in this case should I explicitly do one of : a. (uint(foo[10]) >> 8) & 0xff b. uint((foo[10] >> 8) & 0xff c. uint(uint(foo[10]) >> 8) & 0xff to make sure that the shifting always happens in a unsigned manner. Basically I would like to know if AS3 always autopromotes foo[10] to a "int", whether result of bit shift or bit "&" is a "int" (not a uint) -srp

