在flex3 中可以用
ExternalInterface.call
調用頁面js
例如ExternalInterface.call("getparastr")
返回結果即頁面js的返回結果
getparastr為頁面js方法名
ExternalInterface.call("getparastr",a,b,c,d);
a,b,c,d為getparastr方法所需要的參數
posted on 2008-01-07 10:31
交口稱贊 閱讀(2390)
評論(3) 編輯 收藏 所屬分類:
FLEX