I have a debug version of flash player on my computer and in case of error it displays detailed messages together with affected filenames and stack trace. I would like to achieve the same on a non-debug player, for example filling a TextArea with all these error messages and then displaying it. I tried this:
loaderInfo.uncaughtErrorEvents.addEventListener function, where I call the errorEvent.toString();
the output is as follows:
> [SecurityErrorEvent type="securityError" bubbles=false cancelable=false
> eventPhase=2 text="Error #2048"]
it is not very detailed. Is there possibility to have more detailed information on what is going on, which file is affected? I need this because my flex application behaves differently on different computers - sometimes it seems to have security problem while loading a file.
The non-debug player doesn't output anything. Some folks build facilities
into their app like a hidden text control that stores output for later
display with some magic key sequence.