js:
function myFun()
{
var avlue=getValueFF("liulan");;
document.my_flash.getValue(avlue);
}//获取file文本域中全路径问题
function getValueFF(id){
var ip = document.getElementById(id);
if (ip.files) {
//ffx3 - try to have access to full path
try {
netscape.security.PrivilegeManager.enablePrivilege( 'UniversalFileRead' )
}
catch (err) {
//need to set signed.applets.codebase_principal_support to true
}
};
return ip.value;
}flash :
var myimage:String = "";function getValue(str1:String) void{
myimage = str1;
if(myimage!="")
{
var loader:Loader = new Loader();
loader.load(new URLRequest(myimage));
addChild(loader);
}
}
请大家帮忙看看
function myFun()
{
var avlue=getValueFF("liulan");;
document.my_flash.getValue(avlue);
}//获取file文本域中全路径问题
function getValueFF(id){
var ip = document.getElementById(id);
if (ip.files) {
//ffx3 - try to have access to full path
try {
netscape.security.PrivilegeManager.enablePrivilege( 'UniversalFileRead' )
}
catch (err) {
//need to set signed.applets.codebase_principal_support to true
}
};
return ip.value;
}flash :
var myimage:String = "";function getValue(str1:String) void{
myimage = str1;
if(myimage!="")
{
var loader:Loader = new Loader();
loader.load(new URLRequest(myimage));
addChild(loader);
}
}
请大家帮忙看看
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货