Browse Source

mark array apis as not enumerable

Nicolas Cannasse 17 years ago
parent
commit
cfeef4bc17
1 changed files with 4 additions and 0 deletions
  1. 4 0
      std/flash9/Boot.hx

+ 4 - 0
std/flash9/Boot.hx

@@ -44,6 +44,10 @@ class Boot extends flash.display.MovieClip {
 					}
 				}
 			};
+			aproto.setPropertyIsEnumerable("copy", false);
+			aproto.setPropertyIsEnumerable("insert", false);
+			aproto.setPropertyIsEnumerable("remove", false);
+			aproto.setPropertyIsEnumerable("iterator", false);
 			#if !as3gen
 			Bool = __global__["Boolean"];
 			Int = __global__["int"];