0 Replies Latest reply on Feb 25, 2010 5:39 PM by Cocoram

    How to return the string/xml from the event

    Cocoram

      Folks,

       

      I have the data in the form of string or xml that is a result of an event

       

      for example like the following

       

      private function xmlLoaded(e:Event):void

      {

      newXML = new XML(e.target.data);

      }

       

      I have a class and call the loadXML function in the constructor

      the loadXML has the eventlistener which points to the above

       

      how do i acess this data via object when i instantiate the new object of the class. it always returns null

       

      any suggestions?

       

      Thanks