0 Replies Latest reply on Jul 22, 2008 10:51 AM by the_lar222

    XML object onLoad scope problem

    the_lar222 Level 1
      Hi All,

      I've got a very frustrating scope issue here, probably quite simple, but it's got me stumped.

      I have a class which loads up some XML into an XML object, on loading the XML I want to fire a function in the class.

      I'm obviously doing something wrong because processXML is not happening. I have tried calling _root.instance.processXML(this) in the onLoad function, and that works, but I can't use _root because I don't necessarily know where this is going to be used.

      Any thoughts?

      Many thanks
      Kevin

      My code: