I had to make a few minor changes to your example to type define the
XML during the function, but otherwise the following WORKS perfectly!
Can also, as a result, use dot notation to access individual elements
/ attributes for comboBoxes within components.

I think the biggest stumbling block for me is to get a complete grasp
on the syntax for different UI elements and XML referencing the proper
elements. Thanks for your help Tracy!

Main.mxml Code Snippet:
-----------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute" xmlns:ns1="components.*" width="470" height="493"
creationComplete="feedRequest.send()">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
                
[Bindable]
public var XMLDP_Address: XML;

public function LoadXML(evt:Event):void {
     //set the global var value
     XMLDP_Address = new XML(evt.target.lastResult);
}
        ]]>
</mx:Script>
<mx:HTTPService
     id="feedRequest" 
     url = [VALID XML URL]
     useProxy="false"
     resultFormat="e4x" 
     result="LoadXML(event)"
/>

<mx:Panel x="10" y="268" width="450" height="206" layout="absolute"
id="pnlStatus">
<mx:TextArea x="10" y="39" width="410" height="117"
text="{XMLDP_Address.toXMLString()}">
        </mx:TextArea>

<mx:ComboBox x="260" y="9" id="cmbTest"
dataProvider="[EMAIL PROTECTED]"
width="160"></mx:ComboBox>

</mx:Panel>

<ns1:cmpnt_ALE x="10" y="10" width="450" XMLPC="{XMLDP_Address}">
</ns1:cmpnt_ALE>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to