Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2011
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <fx:Script>
  2.         <![CDATA[
  3.             import com.adobe.serializers.utility.TypeUtility;
  4.            
  5.             import mx.controls.Alert;
  6.             import mx.events.FlexEvent;
  7.            
  8.             import spark.events.GridSelectionEvent;
  9.             protected function button1_clickHandler(event:MouseEvent):void
  10.             {
  11.                
  12.             }
  13.            
  14.             protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
  15.             {
  16.                 getAllCustomerResult.token = customerService.getAllCustomer();
  17.             }
  18.            
  19.            
  20.  
  21.            
  22.            
  23.             protected function dataGrid2_creationCompleteHandler(event:FlexEvent):void
  24.             {
  25.                 getDeviceByIDResult3.token = deviceService.getDeviceByID(dataGrid.selectedItem.id);
  26.             }
  27.  
  28.             protected function dataGrid_selectionChangeHandler(event:GridSelectionEvent):void
  29.             {
  30.                 // TODO Auto-generated method stub
  31.                 getDeviceByIDResult3.token = deviceService.getDeviceByID(dataGrid.selectedItem.id);
  32.             }
  33.            
  34.         ]]>
  35.     </fx:Script>
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement