没有合适的资源?快使用搜索试试~ 我知道了~
flex 3 所有可视控件实例
需积分: 11 48 下载量 76 浏览量
2008-12-15
12:00:22
上传
评论
收藏 720KB DOC 举报
温馨提示
试读
64页
flex 3 component explorer 每个控件都有一个相关的事例,对FLEX初学者有很大的帮助,加快学习进程。
资源推荐
资源详情
资源评论
【阿树整理 2008-6 月】
Visual components..............................................................................................................................5
General controls..........................................................................................................................5
alert......................................................................................................................................5
Colorpicker..........................................................................................................................6
Combobox...........................................................................................................................7
Datagrid...............................................................................................................................8
Horizontallist.......................................................................................................................9
Hrule..................................................................................................................................10
Hscrollbar..........................................................................................................................11
Hslider...............................................................................................................................12
List.....................................................................................................................................13
Numericstepper.................................................................................................................14
Progressbar........................................................................................................................15
Spacer................................................................................................................................16
Tabbar................................................................................................................................16
Tilelist................................................................................................................................17
Tree....................................................................................................................................18
Vrule..................................................................................................................................20
Vscrollbar..........................................................................................................................20
Vslider...............................................................................................................................21
Button controls..........................................................................................................................22
Button................................................................................................................................22
Buttonbar...........................................................................................................................23
Checkbox...........................................................................................................................24
Linkbar..............................................................................................................................26
Linkbutton.........................................................................................................................27
Popupbutton......................................................................................................................27
Radiobutton.......................................................................................................................29
Radiobuttongroup..............................................................................................................29
Togglebuttonbar................................................................................................................30
Date controls.............................................................................................................................31
Datechooser *日历............................................................................................................31
Datefield *选择日期.................................................................................................................33
Loader controls..........................................................................................................................34
Image *读取图片..............................................................................................................34
Swfloader..........................................................................................................................34
Videodisplay......................................................................................................................35
Menu controls............................................................................................................................35
Menu..................................................................................................................................35
Menubar *类似 JS 的下拉菜单........................................................................................37
Popupmenubutton.............................................................................................................38
Text controls..............................................................................................................................39
Label..................................................................................................................................39
1
Rich text editor *文本在线编辑,类似发帖功能..........................................................40
Text....................................................................................................................................40
Textarea.............................................................................................................................41
Textinput............................................................................................................................42
Containers..................................................................................................................................42
Application........................................................................................................................42
Accordion..........................................................................................................................43
Applicationcontrolbar.......................................................................................................44
Box....................................................................................................................................45
Canvas...............................................................................................................................46
Controlbar..........................................................................................................................47
Dividebox..........................................................................................................................48
Form,formheading,formitem.............................................................................................48
Grid,griditem,gridrow.......................................................................................................50
Hbox..................................................................................................................................51
Hdividebox........................................................................................................................52
Panel..................................................................................................................................52
Tabnavigator(*选项卡导航,类似 AJAX)................................................................53
Title....................................................................................................................................54
Titlewindow.......................................................................................................................55
Vbox..................................................................................................................................56
Vdividebox........................................................................................................................57
Viewstack..........................................................................................................................57
Repeater control........................................................................................................................59
Repeater.............................................................................................................................59
Print controls.....................................................................................................................................60
Flexprintjob,printdatagrid.........................................................................................................60
Printdatagridexample........................................................................................................60
Formprintview...................................................................................................................63
Formprintheader................................................................................................................64
Formprintfooter.................................................................................................................65
Validators and formatters..................................................................................................................65
Validators...................................................................................................................................65
Credit card validator..........................................................................................................65
Currency validator.............................................................................................................66
Data validator....................................................................................................................67
Email validator..................................................................................................................68
Number validator..............................................................................................................69
Phone number validator....................................................................................................70
Regexpvalidator................................................................................................................70
Social security validator....................................................................................................72
String validator..................................................................................................................73
Validator............................................................................................................................73
Zipcode validator..............................................................................................................74
2
Formatters..................................................................................................................................75
Currency formatter............................................................................................................75
Date formatter...................................................................................................................76
Formatter...........................................................................................................................78
Number formatter..............................................................................................................79
Phone formatter.................................................................................................................80
Switch symbol formatter...................................................................................................81
Zipcode formatter..............................................................................................................82
Effects,view states,and transitions....................................................................................................84
Effects........................................................................................................................................84
Add item action effect.......................................................................................................84
Animate property..............................................................................................................86
Blur....................................................................................................................................86
Dissolve.............................................................................................................................87
Effect.................................................................................................................................88
Fade...................................................................................................................................89
Glow..................................................................................................................................90
Iris......................................................................................................................................91
Move..................................................................................................................................92
Paraller..............................................................................................................................92
Pause..................................................................................................................................93
Remove item action effect................................................................................................94
Resize................................................................................................................................96
Rotate.................................................................................................................................97
Sequence............................................................................................................................98
Sound effect.......................................................................................................................99
Wipedown.........................................................................................................................99
Wipeleft...........................................................................................................................100
Wiperight.........................................................................................................................100
Wipeup............................................................................................................................101
Zoom...............................................................................................................................102
View states...............................................................................................................................103
State(*用户登录及注册)...........................................................................................103
Transitions...............................................................................................................................104
Transition.........................................................................................................................104
Data visualization components.......................................................................................................107
Charts.......................................................................................................................................107
Chart control....................................................................................................................107
Area chart................................................................................................................107
Axis renderer...........................................................................................................109
Bar chart..................................................................................................................110
Bubble chart............................................................................................................113
Candle stick chart....................................................................................................114
Categoryaxis............................................................................................................115
3
Column chart...........................................................................................................117
Date time axis..........................................................................................................119
Gridlines..................................................................................................................120
Hloc chart................................................................................................................122
Legend.....................................................................................................................123
Linear axis...............................................................................................................125
Line chart................................................................................................................126
Logaxis....................................................................................................................128
Pie chart...................................................................................................................129
Plot chart.................................................................................................................131
Chart series......................................................................................................................132
Area series...............................................................................................................132
Bar series.................................................................................................................134
Bubble series...........................................................................................................137
Candle stick series...................................................................................................138
Column series..........................................................................................................139
Hloc series...............................................................................................................142
Line series...............................................................................................................143
Pie series..................................................................................................................145
Plot series................................................................................................................147
Chart effects....................................................................................................................148
Series inter polate....................................................................................................148
Series slide..............................................................................................................150
Series zoom.............................................................................................................152
Adanced data grid....................................................................................................................154
Adanced data grid(*表格).........................................................................................154
OLAP data grid.......................................................................................................................156
OLAP data grid...............................................................................................................156
Printing....................................................................................................................................160
ADG printing..................................................................................................................160
4
Visual components
General controls
alert
<?xml version="1.0"?>
<!-- Simple example to demonstrate the Alert control. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.events.CloseEvent;
// Event handler function uses a static method to show
// a pop-up window with the title, message, and requested buttons.
private function clickHandler(event:Event):void {
Alert.show("Do you want to save your changes?", "Save Changes", 3, this,
alertClickHandler);
}
// Event handler function for displaying the selected Alert button.
private function alertClickHandler(event:CloseEvent):void {
if (event.detail==Alert.YES)
status.text="You answered Yes";
else
status.text="You answered No";
}
// Event handler function changes the default Button labels and sets the
// Button widths. If you later use an Alert with the default Buttons,
// you must reset these values.
private function secondClickHandler(event:Event):void {
Alert.buttonWidth = 100;
Alert.yesLabel = "Magenta";
Alert.noLabel = "Blue";
5
剩余63页未读,继续阅读
资源评论
czx33859066
- 粉丝: 89
- 资源: 22
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功