Browse Source

f6 compat

Nicolas Cannasse 18 năm trước cách đây
mục cha
commit
1120a0ee0c
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      std/flash/MovieClip.hx

+ 6 - 2
std/flash/MovieClip.hx

@@ -69,8 +69,7 @@ implements Dynamic
 	function attachAudio(id : Dynamic) : Void;
 	function attachVideo(id : Dynamic) : Void;
 	function getDepth() : Int;
-	function getInstanceAtDepth(depth : Int) : MovieClip;
-	function getNextHighestDepth() : Int;
+
 	function setMask(mc : MovieClip) : Void;
 	// don't allow setMask( mc : String ) : Void
 	function play() : Void;
@@ -88,6 +87,11 @@ implements Dynamic
 	function createEmptyMovieClip(name : String, depth : Int) : MovieClip;
 	function beginFill(rgb : Int, ?alpha : Float) : Void;
 
+#if !flash6
+	function getInstanceAtDepth(depth : Int) : MovieClip;
+	function getNextHighestDepth() : Int;
+#end
+
 #if flash8
 	function beginGradientFill(fillType : String, colors : Array<Int>, alphas : Array<+Float>, ratios : Array<+Float>, matrix : Dynamic, ?spreadMethod : String, ?interpolationMethod : String, ?focalPointRatio : Float ) : Void;
 #else true