2 Replies Latest reply on Jan 7, 2011 12:38 PM by Flex harUI

    how to display debug message on non-debug player


      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.