一款flash获取当前页的URL代码
一款flash获取当前页的url代码
import flash.external.*;
var urlpath;
var param_info;
function geturlhttp() {
urlpath = externalinte易做图ce.call('eval', 'window.location.href');
//urlpath = externalinte易做图ce.call("window.location.href.tostring");
param_info = urlpath.split("?")[1];
}
geturlhttp();
urltext.text = urlpath;
if(param_info == undefined){
param.text = "no param";
}else{
param.text = param_info;
}
补充:flash教程,动画技术