1 Reply Latest reply on Dec 5, 2007 4:20 AM by chrisatflash

    How to receive the error in the output panel in a textfield

    chrisatflash Level 1
      Hello, if you test your movie and when an error occurs the error is going to the output panel.

      Is it possible to catch these errors en put them in an textfield?

      My error example in my output is :

      Error opening URL "file:///C|/DOCUME%7E1/CSM%7E1/LOCALS%7E1/Temp/doesnotexist.jpg"

      The code i tried is:

      function loadSomething() {
      loadMovie("doesnotexist.jpg", doel);
      try {
      } catch (e_err:Error) {
      trace("Error!! "+e_err.message);;

      I noticed with try catch finaly you can create your own error name, but i don't want this.
      I would like the error report that flash generate in an textfield.. I search a lot in the help file in the error constructor
      but could not find an solution.

      Does anyone have an solution for this?