var str:String = Application.application.parameters.myparam;
在js中這樣寫
var swfurl = "myswf.swf?progId=" + idVal;
swfobject.embedSWF(swfurl, "repchartdiv", "1024", "500", "9.0.0", "expressInstall.swf");
也可以寫成
var attributes = {
"progId": idVal
};
swfobject.embedSWF("myswf.swf", "repchartdiv", "1024", "500", "9.0.0", "expressInstall.swf", null, null, attributes);
在js中這樣寫
var swfurl = "myswf.swf?progId=" + idVal;
swfobject.embedSWF(swfurl, "repchartdiv", "1024", "500", "9.0.0", "expressInstall.swf");
也可以寫成
var attributes = {
"progId": idVal
};
swfobject.embedSWF("myswf.swf", "repchartdiv", "1024", "500", "9.0.0", "expressInstall.swf", null, null, attributes);