I know this sounds a little bit outdated - in fact it is ... but
nevertheless its my problem so:

I tried to throw a exception (code is simple) via mtasc (1.13). Actually the
exception was thrown BUT the toString method was not executed.
So the following code just traced nothing - it shut off silently. While same
code is working is screaming "hi" compiled by flash8.

class Main {
  public static function main() {
     throw {
       toString: function() {
          trace("hi");
          return "hi";
       }
     };
  }
}

So does somebody else gets that mistake?

yours
Martin.

PS.: Its some little horrifying mistake - to me.
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to