Posted By

Lindsey on 06/17/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

thastyle


Advanced AutoComplete Script 2


 / Published in: ActionScript 3
 

  1. public function onOrgChange():void
  2. {
  3. var getJourneysEvent:SDETEvent = new SDETEvent( SDETEvent.GET_JOURNEYS_FOR_ORGANIZATION );
  4.  
  5. if ( orgAutoComplete.selectedItem != null && orgAutoComplete.selectedItem.hasOwnProperty( 'name' ) )
  6. {
  7. getJourneysEvent.orgName = orgAutoComplete.selectedItem.name;
  8. dispatcher.dispatchEvent( getJourneysEvent );
  9. }
  10. }

Report this snippet  

You need to login to post a comment.