Hi,

I have a ArrayCollection acDept that saved the data passed from 
coldfusion cfc

<cfquery name="getDepartment" datasource="bursary">
   SELECT DeptId, Dept  FROM DeptList                    
</cfquery>

I want loop over all the ArrayCollection and show all the DeptId.I use the 
following code and I get error for "acDept.valueOf("DeptID")."


  for ( var i : int =0; i < acDept.length    ; i++)
  {                  
    Alert.show(acDept.valueOf("DeptID").toString());      

   }
Please help me to know which method I can use to get DeptID.

Thanks

Mark

Reply via email to