How To Fix The VerifyError: Error #1079: Native methods are not allowed in loaded code In Flash

Glasses-icon It’s a simple tips about the VerifyError like #1079. When you start you app by upgrading you flex sdk or complie a relatively complex Flex (SDK 4.0) project with several Library projects, probably you will take the error like: VerifyError: Error #1079: Native methods are not allowed in loaded code. Sometimes even the code basically looks like this:

var xm:XML = <root></root>;
trace(xm);

Only create a new XML object and trace it out.

In fact, this error is caused by trying to load playerglobal.swc. We can fix it simply change to playerglobal.swc be linked as "external".

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Reddit
  • Technorati
  • StumbleUpon
  • Twitter
RSS Enjoy this Post? Subscribe to Ntt.cc

RSS Feed   RSS Feed     Email Feed  Email Feed Follow us Follow us
You can leave a response, or trackback from your own site.

Leave a Reply