VerifyError: Error #1025 or Error from hell
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
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