1 Reply Latest reply on Oct 5, 2006 11:35 AM by leotemp

    How do I pass XML to a Custom Component

    salgarpe
      I need to pass the XML that I obtain with an HTTPService to the Custom Component called EMPRESAS or empresas, and I don´t know how to do this. Could please inform you as to how I would approach this problem that I am not able to solve?

      Here is the following code that I have written, and I am hoping that I could be helped with this problem.


      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns="view.*" >


      <mx:HTTPService showBusyCursor="true"
      id = "empresasRequest"
      url = " http://www.sdasdasdasd.com"
      useProxy = "false"
      method = "GET">
      </mx:HTTPService>


      <empresas label="Empresas" id="custom_empresas>
      </empresas>

      “In this Custom Component i want to pass XML that I obtain from HTTPService empresasRequest”

      </mx:Application>