如何解决Adobe Flex错误:“错误#2036:加载未完成”?
最佳答案
别忘了,您还可以将IOErrorEvent-listener添加到加载器,这样您就可以自己跟踪更多的信息。下面的代码是一个普通的入门程序,在实际在flash/flex中工作之前,可能需要更多信息。
swfLoaderInstance:SWFLoader = new SWFLoader();
swfLoaderInstance.source = "someSWFFile.swf";
swfLoaderInstance.addEventListener(IOErrorEvent.IO_ERROR, handleError);
public function handleError(event:IOErrorEvent):void{
trace(event.target);
//etc...
}
关于apache-flex - 如何解决Adobe Flex错误: “Error #2036: Load Never Completed” ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1227839/