方法一:
import flash.external.*;
//调用页面中的JS函数
var temp_str = String(ExternalInterface.call("shownews"));
result_txt.text = temp_str;
方法二:(比较简单,我喜欢)
getURL("javascript:flagoto()");
方法一:
import flash.external.*;
//调用页面中的JS函数
var temp_str = String(ExternalInterface.call("shownews"));
result_txt.text = temp_str;
方法二:(比较简单,我喜欢)
getURL("javascript:flagoto()");