Labs

It works in my machine!

VerifyError: Error #1025 or Error from hell

with one comment

i was trying to read an XML with namespaces and then Flash throw me this weird error

VerifyError: Error #1025: An invalid register 3 was accessed

then we found that was beacuse of these lines (locally declared in a function)

1
2
var ns = ttXML.namespace();
default xml namespace = ns;

the error comes when you try to call some function after those lines in your code

the solution that we found was declare ns variable outside of the function
and then everything works fine =D

Written by Raúl

October 29th, 2008 at 7:44 pm

Posted in AS3

One Response to 'VerifyError: Error #1025 or Error from hell'

Subscribe to comments with RSS or TrackBack to 'VerifyError: Error #1025 or Error from hell'.

  1. Hi,
    there’s another way (maybe cleaner) so solve this issue:
    just add
    default xml namespace=new Namespace(”");
    after working with the xml object.

    That should eliminate this strange error!

    http://warappa.wordpress.com/2008/12/19/runtime-error-1025-an-invalid-register-was-accessed/

    warappa

    18 Dec 08 at 18:09

Leave a Reply