소스 검색

added fscommand parameter.

Nicolas Cannasse 19 년 전
부모
커밋
4936fae2f2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 ) {