Nicolas Cannasse před 18 roky
rodič
revize
1e629846b3
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      std/flash/Sound.hx
  2. 1 1
      std/flash9/utils/Dictionary.hx

+ 1 - 1
std/flash/Sound.hx

@@ -9,7 +9,7 @@ extern class Sound
 	var checkPolicyFile : Bool;
 	var checkPolicyFile : Bool;
 #end
 #end
 
 
-	function new(target:Dynamic) : Void;
+	function new( ?target:Dynamic ) : Void;
 
 
 	function onLoad(success:Bool):Void;
 	function onLoad(success:Bool):Void;
 	function onSoundComplete():Void;
 	function onSoundComplete():Void;

+ 1 - 1
std/flash9/utils/Dictionary.hx

@@ -1,5 +1,5 @@
 package flash.utils;
 package flash.utils;
 
 
-extern class Dictionary {
+extern class Dictionary implements ArrayAccess<Dynamic> {
 	function new(?weakKeys : Bool) : Void;
 	function new(?weakKeys : Bool) : Void;
 }
 }