12345678910111213141516171819 |
- package js;
- extern class SWFObject {
- function new( swf : String, id : String, width : Int, height : Int, ver : String, color : String /*...*/ ) : Void;
- 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;
- private static function __init__() : Void untyped {
- #if !noEmbedJS
- haxe.macro.Tools.includeFile("js/swfobject-1.5.js");
- #end
- js.SWFObject = deconcept.SWFObject;
- }
- }
|