// forked from xSonoSx's forked from: Array bug // forked from makc3d's Array bug package { import com.actionscriptbible.Example; public class FlashTest extends Example { public function FlashTest() { // http://juick.com/valyard/1230690 var a:Array = ["bla"]; a[ uint.MAX_VALUE - 4] = "bla2"; trace( a.length ); // 0 a.push(1, 2, 3); trace( a.length, a[0] ); // ok a.push (4) trace( a.length, a[0] ); // still ok a.push (5) trace( a.length, a[0] ); // bug } } }