Browse Source

vector flash10 only

Nicolas Cannasse 16 years ago
parent
commit
130fbce901
2 changed files with 5 additions and 0 deletions
  1. 1 0
      doc/CHANGES.txt
  2. 4 0
      std/flash9/Vector.hx

+ 1 - 0
doc/CHANGES.txt

@@ -9,6 +9,7 @@ TODO :
 	flash8 : removed extra empty AS3 tag (causing some issue with F8 loadMovie)
 	improved speed of Bytes unserializing (no need for BytesBuffer)
 	flash9 : bugfix, Null<Typedef> was generating dynamic code
+	flash9 : added error message in flash.Vector if used without flash 10
 
 2009-03-22: 2.03
 	optimized Type.enumEq : use index instead of tag comparison for neko/flash9/php

+ 4 - 0
std/flash9/Vector.hx

@@ -1,5 +1,9 @@
 package flash;
 
+#if !flash10
+"The vector class is only available for flash10+"
+#end
+
 /**
 	The Vector class is very similar to Array but is only supported by the Flash Player 10+
 **/