flex资源
一 网站
1 在线图片处理工具网站http://www.flauntr.com/
。
2 官方网站的例子 http://examples.adobe.com/flex3/componentexplorer/explorer.html
3 官方AS3学习资料网站 http://www.adobe.com/devnet/actionscript/
4 这儿推荐一个网址,不仅可以对其它的数据类型进行学习,还有基础的语法,非常不错:
ActionScript3.0语言和
组件参考
(中文的哦)
http://help.adobe.com/zh_CN/AS3LCR/Flash_10.0/
二 学习
1 Flex开发者需要知道的十件事
http://www.infoq.com/cn/news/2010/02/Flex-ten-things
教程
1 视频教程
http://subject.csdn.net/flexapp/
http://www.riameeting.com/channel/learnflexinaweek/ 中文视频
ViewState
http://www.riameeting.com/node/82
http://www.riameeting.com/node/83
2 http://www.blueidea.com/tech/multimedia/2004/2130.asp Flex 入门教程
3 http://www.adobe.com/devnet/flex/videotraining/ StepByStep
4 http://wangyisong.javaeye.com/?page=4 好
5 http://bbs.blueidea.com/thread-2906994-1-7.html
三 实例
1 按钮的例子
http://www.joelove.cn/4lone/317.html
四 归纳
1 什么是CDATA和 PCDATA
CDATA表示里面是什么数据XML不会解析.比如可能是下面的一段
<![CDATA[
if(a>
b){
System.out.println(a);
}
]]>
注意上面的一个">"符号.
PCDATA的数据是要给XML解析器去解析的,那上面的>去解析肯定会出错了,所以要用实体定义.上面的数据如果用PCDATA表示如下:
if(a&gt;
b){
System.out.println(a);
}
CDATAT标明是纯文本的,没有这个的话 < > &
字符是不能直接存入XML的,需要转义,而用这个标记则不需要转义而将这些符号存入XML文档。
可以避免未预料的特殊符号导致XML解析出错。
相关文档:
由于本人最近忙于找工作和毕业设计,没有时间来继续这个系列, 只写了第一篇,自己也深感惭愧,这一篇介绍一下这个demo的整体架构吧,先贴下下载地址。http://download.csdn.net/source/2118707
目前服务端已完成登陆注册模块,使用Socket编程,TCP协议。等服务端完成将完整的编写一个系列的教程。~~
......
Flex组件内置了处理拖拽事件的接口,有些控件已经实现了拖拽功能,比如List、DataGrid、Menu、
HorizontalList、 PrintDataGrid、TileList、Tree,在设置相关的拖拽属性后,它们都可以在相同类型的组
件之间利用鼠标来实现数据的转移。
allowDragSelection ......
Are you running your Flex Application and continually getting the error below?
"Flex Builder cannot locate the required version of the Flash Player. You might need to install Flash Player 9 or reinstall Flex Builder. Do you want to try to run your application with the current version?"
Description ......
<?xml version="1.0"?>
<!-- charts/PredefinedAxisStyles.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
//导入相关包
import mx.collections.ArrayCollection;
import mx.charts.*;
import mx.charts.ser ......
<?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">
<!- ......