Skip to content

Instantly share code, notes, and snippets.

@axeda
Created July 26, 2011 18:41
Show Gist options
  • Select an option

  • Save axeda/1107507 to your computer and use it in GitHub Desktop.

Select an option

Save axeda/1107507 to your computer and use it in GitHub Desktop.
Building Killer Applications with Adobe Flash - Demo 1 of 3: A Simple RIA with Data Access
protected function AssetList_changeHandler(event:IndexChangeEvent):void
{
if (AssetList.selectedIndex>-1)
{
currentState = "AlarmListState"
GetAlarmsResult.token = assetService.GetAlarms("demo@flash.ap","demo@flash.ap",
AssetList.selectedItem.name);
} else currentState = "AssetListState"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment