Browse Source

added addVariable and setAttribute

Nicolas Cannasse 17 năm trước cách đây
mục cha
commit
910ea8c873
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 \\ */