VerifyError: Error #1025 or Error From Hell

| Comments

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)

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

Comments