Quellcode durchsuchen

added fscommand parameter.

Nicolas Cannasse vor 19 Jahren
Ursprung
Commit
4936fae2f2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      std/flash/Lib.hx

+ 2 - 2
std/flash/Lib.hx

@@ -50,8 +50,8 @@ class Lib {
 			__geturl__(url,target,"GET");
 	}
 
-	public static function fscommand( cmd : String ) {
-		untyped __geturl__("FSCommand:"+cmd,"");
+	public static function fscommand( cmd : String, param : Dynamic ) {
+		untyped __geturl__("FSCommand:"+cmd,if( param == null ) "" else param);
 	}
 
 	public static function print( cmd : String, kind : String ) {