What is the easiest way to exstract a single value from an array 
collection that is a reslut from remote object calling a cfc.


 [Bindable]
public var empSelected:Number;

public function getempProfile():void{
                
cfService.empName({emp:empSelected});
                
}

[Bindable]
                        
private var empData:ArrayCollection;
                        
private function dataHandler(event:ResultEvent):void{
empData = event.result as ArrayCollection;
}


<mx:RemoteObject id="cfService" 
        destination="ColdFusion" 
        source="cfc.names"
        result="dataHandler(event)"
                />



 <mx:Label  text="{empData.getItemAt(????????)}">
                        
                </mx:Label>




--
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