Simple List in Flex Hero (Buritto)


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <components:View xmlns:fx="http://ns.adobe.com/mxml/2009"
  3. xmlns:s="library://ns.adobe.com/flex/spark"
  4. xmlns:components="spark.components.*"
  5. xmlns:banks="services.banks.*"
  6. title="Singapore Bank Opening Hours"
  7. creationComplete="srv.send()">
  8. <fx:Declarations>
  9. <s:HTTPService id="srv" url="assets/banks.xml"/>
  10. </fx:Declarations>
  11.  
  12. <s:List id="list" left="0" right="0" top="0" bottom="0"
  13. dataProvider="{srv.lastResult.list.bank}" enabled="true" labelField="name"/>
  14. </components:View>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.