Browse Source

minor fixes

Nicolas Cannasse 18 years ago
parent
commit
1e629846b3
2 changed files with 2 additions and 2 deletions
  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;
 #end
 
-	function new(target:Dynamic) : Void;
+	function new( ?target:Dynamic ) : Void;
 
 	function onLoad(success:Bool):Void;
 	function onSoundComplete():Void;

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

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