This is a Flex 4 problem.

I have dynamically filled a drop down box using PHP Data/Services and wish to 
set the initial display to the current Engineer. What I have is the value of 
the EngineerId.

I have tried to access the values of the dropdown with no louk either, I feel 
like I'm getting no where, any help is much appreciated.

CREATE VIEW view_engineer
AS SELECT
   EngineerId,
   EngineerFullName
FROM tblEngineer;

<mx:FormItem label="Name:">
   <s:DropDownList width="200"
      id="dropDownList"
      creationComplete="dropDownList_creationCompleteHandler(event)"
      labelField="EngineerFullName">
      <s:AsyncListView id="alvEngineer"
         list="{getAllDisp_engineer_fullnameResult.lastResult}"/>
   </s:DropDownList>
</mx:FormItem>

Reply via email to