开发者

Unhanndled IO Error on fileReference.save()

开发者 https://www.devze.com 2023-02-14 15:13 出处:网络
I 开发者_如何学运维am using a filereference Object to export an excel file from my flex application. I am using fileReference.save() from Flash player 10.I am getting an error if the file i am trying

I 开发者_如何学运维am using a filereference Object to export an excel file from my flex application. I am using fileReference.save() from Flash player 10. I am getting an error if the file i am trying to save is already open. This error is not getting handled even if i put a try catch block. I have tried adding a listener with IOErrorEvent.IO_ERROR. Still the error is happening. This is the Error message i am getting - "Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error."

Thanks in advance. Manoj


This is asynchronous error, you can't catch it with try-catch block. Add an event listener for IOErrorEvent event. Also, we need some details to get the source of the problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消