Posted on 2009-03-21 14:03
Robert Su 閱讀(1936)
評論(0) 編輯 收藏
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);