Created
August 18, 2011 03:29
-
-
Save junwatu/1153231 to your computer and use it in GitHub Desktop.
BookList component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"> | |
<mx:Script> | |
<![CDATA[ | |
import mx.events.ListEvent; | |
import com.developmentarc.core.utils.EventBroker; | |
[Bindable] | |
public var dataOne:Array = ["Beginning Adobe AIR","Essential ActionScript 3.0"]; | |
public function handleChangeEvent(e:ListEvent):void { | |
EventBroker.broadcast(e); | |
} | |
]]> | |
</mx:Script> | |
<mx:List id="listBuku" dataProvider="{dataOne}" width="100%" | |
height="100%" itemClick="handleChangeEvent(event)"/> | |
</mx:VBox> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment