Flex 书籍选择
上面是一个flex做的选择,主要学习数据 Model跟DateGrid的用法 哈,源码如下:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" fontSize="12">
<mx:Model id="books">
<datas>
<book>
<name>Flex</name>
<author>cju</author>
<date>2010-01-16</date>
</book>
<book>
<name>Java</name>
<author>cana</author>
<date>2010-01-17</date>
</book>
<book>
<name>Jsp</name>
<author>cju</author>
<date>2010-01-16</date>
</book>
<book>
<name>SSH</name>
<author>cju</author>
<date>2009-11-16</date>
</book>
</datas>
</mx:Model>
<mx:Label width="500" color="#004080" text="选择要买的书"/>
<mx:DataGrid id="book_DG" width="500" height="156" rowCount="5" dataProvider="{books.book}">
<mx:columns>
<mx:DataGridColumn dataField="name" headerText="书名"/>
<mx:DataGridColumn dataField="author" headerText="作者"/>
<mx:DataGridColumn dataField="date" headerText="时间"/>
</mx:columns>
</mx:DataGrid>
<mx:Canvas height="150" width="500" backgroundColor="#ffffff">
<mx:Label text="书名:{book_DG.selectedItem.name}"/>
<mx:Label text="书名:{book_DG.selectedItem.author}" y="44"/>
<mx:Label text="书名:{book_DG.selectedItem.date}" y="90"/>
&
相关文档:
<?xml version="1.0"?>
<!-- Simple example to demonstrate the ColumnChart and BarChart controls. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="initApp()"
backgroundColor="#FFFFFF" width="350" height="125"
layout="absolute">
<!- ......
一 网站
1 在线图片处理工具网站http://www.flauntr.com/
。
2 官方网站的例子 http://examples.adobe.com/flex3/componentexplorer/explorer.html
3 官方AS3学习资料网站 http://www.adobe.com/devnet/actionscript/
4 这儿推荐一个网址,不仅可以对其它的数据类型进行学习,还有基础的语法,非常不错:
  ......
官网信息:(API:http://flexlib.googlecode.com/svn/trunk/docs/index.html)
HowToContribute
How you can contribute code to FlexLib
IntroductionLicenseBefore you submit codeFlexBuilderProject page to learn how to check out the project into Flex Builder. Read HowToBuild to learn how to compile ......
一般来讲,在windows上安装软件从来都不是什么难事儿,但FMS却在安装过程中"充满"了误导(好吧,其实也就是夸张的说法而已)
1.下载FMS3.5
http://www.adobe.com/products/flashmediainteractive/?promoid=DJDTG
这上面有一个免费开发版(除了连接数有限制,其它功能完全一样)
2.一路Next安装
注 ......
strategyMarketsOfCurrentStrategy.addEventListener(CollectionEvent.COLLECTION_CHANGE, strategyMarketsDataChangedHandler);
strategyMarketsOfCurrentStrategy.removeAll(); &nbs ......