Posted on 2009-03-21 14:03
Robert Su 阅读(1934)
评论(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);