flash接收外部參數(SWFobject)

          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);




          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          posts - 103, comments - 104, trackbacks - 0, articles - 5

          Copyright © Robert Su

          主站蜘蛛池模板: 苍山县| 探索| 原平市| 龙海市| 乌鲁木齐市| 蓬溪县| 甘德县| 永平县| 儋州市| 宜城市| 苏州市| 阿拉尔市| 夏河县| 福安市| 黎城县| 宁远县| 丰镇市| 佛山市| 临西县| 淮滨县| 阿瓦提县| 宜春市| 陕西省| 西藏| 余干县| 荣昌县| 鹤庆县| 嘉黎县| 历史| 车致| 新绛县| 吉林市| 鞍山市| 抚远县| 吉林省| 巴里| 施秉县| 尼玛县| 谷城县| 宝清县| 麻江县|