xml.onLoad
xml.onLoad
- Started
- Last post
- 2 Responses
- bry
anybody ever run into a weird problem with XML.onLoad in that it executes _twice_?
as far as i can tell, i only have one instance of a custom XML loader/parser class going on. everything inside the onLoad function happens exactly twice... but there are no other calls to the onLoad ANYWHERE ELSE in my project.
can anybody tell me what might be causing this before i get back to my project and magically stumble upon a glaringly obvious error i didn't catch before making this post?
- UndoUndo0
have you made sure the call to the function containing the xml.onload is not happening twice?
- bry0
no, but i did, as expected, figure out what the problem was.
a superclass was calling an init() function to the class where the onLoad was being held.
DOYYY
i suck!