将外部文本文件加载到Flash中 - 未加载URL

时间:2012-06-27 20:13:15

标签: flash actionscript flashdevelop loadvars

Flash ActionScript

myData = new LoadVars();

myData.onLoad = function(){

myText_txt.text = this.myVariable;

};

myData.load( “http://www.myserver.com/test/myText.txt”);

1 个答案:

答案 0 :(得分:0)

您是否偶然获得了对服务器上的crossdomain.xml文件的失败(http404)调用?查看:http://kb2.adobe.com/cps/142/tn_14213.html