Bläddra i källkod

flash <8 errors

Nicolas Cannasse 18 år sedan
förälder
incheckning
99d56d5882

+ 4 - 0
std/flash/display/BitmapData.hx

@@ -1,5 +1,9 @@
 package flash.display;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 import flash.geom.Rectangle;
 import flash.geom.Point;
 

+ 4 - 0
std/flash/external/ExternalInterface.hx

@@ -1,5 +1,9 @@
 package flash.external;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class ExternalInterface {
 
 	static var available : Bool;

+ 4 - 0
std/flash/filters/BitmapFilter.hx

@@ -1,5 +1,9 @@
 package flash.filters;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class BitmapFilter {
 
 }

+ 4 - 0
std/flash/geom/ColorTransform.hx

@@ -1,5 +1,9 @@
 package flash.geom;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class ColorTransform {
 
 	var rgb : Float;

+ 4 - 0
std/flash/geom/Matrix.hx

@@ -1,5 +1,9 @@
 package flash.geom;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class Matrix {
 
 	// 3x2 affine 2D matrix

+ 4 - 0
std/flash/geom/Point.hx

@@ -1,5 +1,9 @@
 package flash.geom;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class Point<T> {
 
 	var x : T;

+ 4 - 0
std/flash/geom/Rectangle.hx

@@ -1,5 +1,9 @@
 package flash.geom;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class Rectangle<T> {
 
 	var left : T;

+ 4 - 0
std/flash/geom/Transform.hx

@@ -1,5 +1,9 @@
 package flash.geom;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class Transform {
 
 	var matrix : Matrix;

+ 4 - 0
std/flash/net/FileReference.hx

@@ -1,5 +1,9 @@
 package flash.net;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class FileReference {
 
 	var creator : String;

+ 4 - 0
std/flash/net/FileReferenceList.hx

@@ -1,5 +1,9 @@
 package flash.net;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class FileReferenceList {
 
 	var fileList : Array<Dynamic>;

+ 4 - 0
std/flash/text/TextRenderer.hx

@@ -1,5 +1,9 @@
 package flash.text;
 
+#if !flash8
+"This class is only accesible in Flash8"
+#end
+
 extern class TextRenderer {
 
 	static var maxLevel : Float;