瀏覽代碼

added addVariable and setAttribute

Nicolas Cannasse 17 年之前
父節點
當前提交
910ea8c873
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      std/js/SWFObject.hx

+ 2 - 0
std/js/SWFObject.hx

@@ -6,6 +6,8 @@ extern class SWFObject {
 	function addParam( param : String, value : String ) : Void;
 	function getSWFHTML() : String;
 	function write( elementId : String ) : Bool;
+	function addVariable( param : String, value : String ) : Void;
+	function setAttribute( id : String, value : String ) : Void;
 
 	/* Notes : to embed SWF object, it is only needed to copy/paste the .js and replace \ by \\ */