Flex入门的好书——《Flex3 Cookbook 中文版》

  • 本站文章除注明转载外,均为本站原创或者翻译。
  • 本站文章欢迎各种形式的转载,但请18岁以上的转载者注明文章出处,尊重我的劳动,也尊重你的智商;
  • 本站部分原创和翻译文章提供markdown格式源码,欢迎使用文章源码进行转载;
  • 本博客采用 WPCMD 维护;
  • 本文标题:Flex入门的好书——《Flex3 Cookbook 中文版》
  • 本文链接:http://zengrong.net/post/659.htm


  Flex3 Cookbook 中文版 (5.4 MiB, 6,574 hits)

转自

中文目录:
第一章. Flex和ActionScript基础 (常青)
1.1节. 用Flex Builder创建Flex项目
1.2节. 用Flex Builder创建Flex库项目
1.3节. 创建ActionScript项目
1.4节. 在Flex Builder中设置MXML编译器参数
1.5节. 在Flex Builder外编译Flex项目
1.6节. 在MXML中添加事件
1.7节. 设置MXML的子节点属性
1.8节. 定义对象数组
1.9节. 在ActionScript中设置变量作用域
1.10节. 在ActionScript中创建组件
1.11节. 使用事件冒泡机制
1.12节. 使用代码隐藏模式分离MXML和ActionScript
1.13节. 组件属性绑定
1.14节. 使用自定义事件以及事件数据传递
1.15节. 监听键盘事件
1.16节. 定义方法参数
1.17节. 检测对象数据类型
1.18节. 接口的定义和实现
第二章. 控件与菜单 (Native|eas)

2.1节. 监听按钮点击
2.2节. 创建一组状态按钮
2.3节. 使用ColorPicker设置Canvas颜色
2.4节. 通过SWFLoader载入SWF
2.5节. 设置组件标签索引
2.6节. 设置控件的labelFunction
2.7节. 提供菜单数据
2.8节. 动态填充菜单
2.9节. 为菜单类控件创建事件处理函数
2.10节. 显示一个通知窗口
2.11节. 使用Calendar控件数据
2.12节. 弹出式窗口的显示与位置
2.13节. 自定义弹出式窗口边框
2.14节. 处理focusIn和focusOut事件
第三章. 容器 (Nigel)

3.1节. 使用布局管理器管理容器子节点位置
3.2节. 用百分比设置容器的大小和位置
3.3节. 用不同的坐标系统跟踪鼠标位置
3.4节. 动态添加和删除容器子节点
3.5节. 使用容器的约束布局
3.6节. 设置容器子节点尺寸的最大值和最小值
3.7节. 设定容器的约束行和约束列
3.8节. 使用约束器为文本框创建布局流程
3.9节. 控制容器内的滚动和溢出
3.10节. 控制Box组件的布局
3.11节. 容器的初始化
3.12节. 创建TitleWindow
3.13节. 用LinkBar控制ViewStack
3.14节. 绑定ViewStack的当前索引到变量上
3.15节. 使用延迟实例化来提高启动时间
3.16节. 创建和控制可变大小的容器
3.17节. 创建,启动和禁止TabNavigator的TabControls
3.18节. 创建带关闭标签的TabNavigator
3.19节. 创建和控制一个通知窗口
3.20节. 基于调用其组件的对话框大小和位置
3.21节. 管理弹出式对话框
3.22节. 滚动到容器内的指定子节点
3.23节. 使用IDeferredInstance创建一个模板
3.24节. 手动布局容器
3.25节. 测量并通知容器大小
3.26节. 控制子节点的可视化和布局
3.27节. 使用简单的重组创建一个平铺容器
3.28节. 设置HBox的背景和圆角
3.29节. 控制子组件的位置和滚动
第四章. 文本 (ω草·衣·薰)

4.1节. 正确设置Text对象的值
4.2节. 绑定一个数值到TextInput上
4.3节. 创建一个带自动提示的TextInput
4.4节. 创建一个自适应编辑器
4.5节. 检测用户电脑上已安装的所有字体
4.6节. 创建自定义TextInput
4.7节. 设置一段文本的Style属性
4.8节. 在Html中显示图像和SWF
4.9节. 在搜索域中高亮显示用户输入的文本
4.10节. 操作字符作为各自图形
4.11节. 为TextField中的HTML指定样式
4.12节. 使用RichTextEditor
4.13节. 在HTML中嵌入字体
4.14节. 为Text组件的文本添加阴影

4.15节. 找出TextArea中最后被显示的字符
第五章. Lists,Tiles和Trees (桃之夭夭)

5.1节. 创建一个可编辑的List
5.2节. 为List的某项设置图标
5.3节. 为List的内容变更添加特效
5.4节. 为TileList创建一个项渲染器
5.5节. 为Tree设置XML数据
5.6节. 为Tree创建项渲染器
5.7节. 在Tree控件中使用复杂数据对象
5.8节. 只允许List的某一项可被选中
5.9节. 为List的项编辑器添加格式化和验证
5.10节. 跟踪TileList中所以被选中的子节点
5.11节. 使用和显示项渲染器的NULL项
5.12节. 为List创建右键菜单

5.13节. 自定义List被选中项的外观
第六章. DataGrid和高级DataGrid (常青)

6.1节. 为DataGrid创建自定义列
6.2节. 为DataGrid列设定排序函数
6.3节. 启动多列排序
6.4节. 过滤项
6.5节. 为AdvancedDataGrid创建自定义表头
6.6节. 处理事件
6.7节. 选择项
6.8节. 启动DataGrid拖拽功能
6.9节. 编辑DataGrid某一项
6.10节. 在DataGrid中搜索并自动滚动到匹配项
6.11节. 使用群集对数据进行总结
6.12节. 为群集创建一个异步刷新
第七章. 渲染器和编辑器 (王平)

7.1节. 创建自己的渲染器
7.2节. 使用ClassFactory生成渲染器
7.3节. 访问设置自己渲染器的组件
7.4节. 创建一个简单的组件作为渲染器和编辑器
7.5节. 创建一个项编辑器来出来多个域的数据
7.6节. 使用项渲染器把SWF对象作为一个菜单项显示
7.7节. 用一个复选框渲染器选择DataGrid列
7.8节. 为DataGrid创建一个独立的复选框项渲染器
7.9节. 为渲染器设置高效图像
7.10节. 为项渲染器和项编辑器应用运行时样式
7.11节. 为项编辑器应用状态和变换
7.12节. 创建一个带复选框的Tree控件

7.13节. 改变List中的渲染器大小
第八章. 图像,位图,视频和声音 (ken)
8.1节. 载入并显示图像
8.2节. 创建视频显示
8.3节. Mp3文件的播放和暂停
8.4节. 为音频文件创建进度搜索条
8.5节. 融合两幅图像
8.6节. 将Convolution滤镜应用于图像
8.7节. 通过摄像头将视频发送到FMS实例
8.8节. 访问用户的麦克风并创建声音显示
8.9节. 在Flex程序中流畅播放视频
8.10节. 检测像素级别的碰撞
8.11节. 读取和保持用户的网络摄像头图像
8.12节. 在多幅图像中使用混合模式
8.13节. 处理FLV数据的提示点
8.14节. 创建视频播放进度条
8.15节. 读取mp3文件的ID3数据
8.16节. 在载入图像时显示自定义引导
8.17节. 启动图像上传

8.18节. 比较两幅位图
第九章. 皮肤与样式 (屋檐下)
9.1节. 用CSS定义组件样式
9.2节. 覆盖程序默认样式
9.3节. 嵌入CSS样式
9.4节. 覆盖通用样式属性
9.5节. 在运行时自定义样式
9.6节. 在运行时载入CSS
9.7节. 在运行时申明样式
9.8节. 自定义组件样式属性
9.9节. 在同一个程序中使用多个主题
9.10节. 编译主题SWC
9.11节. 使用嵌入字体
9.12节. 在SWF文件中嵌入字体
9.13节. 嵌入图像的皮肤
9.14节. 在SWF文件中嵌入皮肤
9.15节. 编程实现组件皮肤
9.16节. 编程实现状态控件的皮肤
9.17节. 创建动态皮肤

9.18节. 自定义引导界面
第十章. 拖拽操作 (小河)
10.1节. 使用DragManager类
10.2节. 指定一个Drag代理
10.3节. 在List内部进行拖拽操作
10.4节. 在List之间进行拖拽操作
10.5节. 启动和禁止拖操作
10.6节. 自定义列表类控件的拖动图像

10.7节. 自定义列表类控件的拽动指示器
第十一章. States(状态) (常青)

11.1节. 设置State的样式和属性
11.2节. 创建Transitions(转换)用于进入或退出States
11.3节. 使用AddChildAction和RemoveChildAction
11.4节. 过滤Transitions以便作用于某种类型的子节点
11.5节. 应用一部分Transition到某个子节点
11.6节. 建立在基本State上的State
11.7节. 通过HistoryManagement整合视图States
11.8节. 使用States延时实例化代理
11.9节. 在State中使用数据绑定
11.10节. 在State改变中添加和删除事件监听器
11.11节. 添加视图States到Flash组件上
11.12节. 处理State Change事件
11.13节. 动态生成并使用新的States和Transitions
11.14节. 在State中创建自定义行为
第十二章. 特效(Effects) (Flexer:Nigel)
12.1节. 在MXML和ActionScript中调用一个特效
12.2节. 构建自定义特效
12.3节. 创建平时执行序列和顺序执行序列的特效
12.4节. 暂停,反向和重启特效
12.5节. 创建自定义特效触发器
12.6节. 创建渐变特效
12.7节. 使用DisplacementMapFilter滤镜
12.8节. 创建AnimateColor特效
12.9节. 使用卷积滤镜创建一个渐变效果
第十三章. 集合 (常青)

13.1节. 添加,排序和反转ArrayCollection数据
13.2节. 过滤ArrayCollection
13.3节. 判定何时ArrayCollection的某数据项被修改
13.4节. 创建一个GroupingCollection
13.5节. 为控件创建一个分层的数据供应器
13.6节. 导航集合对象并保持当前位置
13.7节. 创建HierarchicalViewCollection对象
13.8节. 过滤和排序XMLListCollection
13.9节. 根据多个字段排序
13.10节. 根据日期排序
13.11节. 创建一个ArrayCollection的深度复制
13.12节. 通过唯一的ID使用数据对象
第十四章. 数据绑定 (Roast)

14.1节. 绑定到属性
14.2节. 绑定到函数
14.3节. 创建双向绑定
14.4节. 使用ActionScript绑定到属性
14.5节. 使用可绑定的属性链
14.6节. 使用E4X绑定XML到属性上
14.7节. 创建自定义可绑定属性
14.8节. 绑定到一个通用对象
14.9节. 在动态类上榜的属性
第十五章.验证,格式化和正则表达式 (tonyian)

15.1节. 使用在TextInput和TextArea控件上使用验证器和格式化器
15.2节. 创建自定义格式化器
15.3节. 通过正则表达式创建国际邮政编码验证器
15.4节. 创建一个验证器验证UPCs
15.5节. 验证组合框和一组单选框
15.6节. 在表单中通过TooTips显示验证错误信息
15.7节. 使用正则表达式定义Email地址
15.8节. 使用正则表达式匹配信用卡号码
15.9节. 使用正则表达式验证ISBNs
15.10节. 通过显示字符类创建正则表达式
15.11节. 在正则表达式中使用字符类型
15.12节. 使用子表达式验证合法的IP地址
15.13节. 使用正则表达式为不同类型进行匹配
15.14节. 使用正则表达式匹配行开头和结尾
15.15节. 使用逆向引用
15.16节. 使用正向查找和逆向查找
第十六章.图表 (Na)
第十七章.共享对象 (Native|eas)
第十八章.数据服务和服务端通信 (Native|eas)

第十九章.XML (tonyian)
第二十章.与浏览器通信 (Nigel)
第二十一章.开发策略 (ASer@欢乐学)
第二十二章.Modules和RSL (常青)

第二十三章.AIR (常青)
第二十四章.单元测试之FlexUnit (常青)
第二十五章. 编译和调试 (ASer@欢乐学)
第二十六章. 配置,国际化和打印

英文目录:
Chapter 1. Flex and ActionScript Basics
Recipe 1.1. Create a Flex Project in Flex Builder
Recipe 1.2. Create a Flex Library Project in Flex Builder
Recipe 1.3. Create an ActionScript Project
Recipe 1.4. Set Compiler Options for the MXML Compiler in Flex Builder
Recipe 1.5. Compile a Flex Project Outside of Flex Builder
Recipe 1.6. Add an Event Listener in MXML
Recipe 1.7. Set Properties of a Child Defined in MXML in ActionScript
Recipe 1.8. Define Arrays and Objects
Recipe 1.9. Set the Scope of Variables in ActionScript
Recipe 1.10. Create a Component in ActionScript
Recipe 1.11. Use Event Bubbling
Recipe 1.12. Use a Code-Behind Model to Separate MXML and ActionScript
Recipe 1.13. Make Properties of a Component Bindable
Recipe 1.14. Use Custom Events and Dispatch Data with Events
Recipe 1.15. Listen for a Keyboard Event
Recipe 1.16. Define Optional Parameters for Methods
Recipe 1.17. Determine the Type of an Object
Recipe 1.18. Define and Implement an Interface
Chapter 2. Menus and Controls
Recipe 2.1. Listen to a Button Click
Recipe 2.2. Create a Set of Buttons That Toggle
Recipe 2.3. Use a ColorPicker to Set Canvas Color
Recipe 2.4. Load a SWF by Using the SWFLoader
Recipe 2.5. Set Tab Indexes for Components
Recipe 2.6. Set a labelFunction for a Control
Recipe 2.7. Provide Data for Menus
Recipe 2.8. Dynamically Populate Menus
Recipe 2.9. Create EventHandlers for Menu-Based Controls
Recipe 2.10. Display an Alert in an Application
Recipe 2.11. Use the Date from a Calendar Control
Recipe 2.12. Display and Position Multiple Pop-ups
Recipe 2.13. Create a Custom Border for a Pop-up Window
Recipe 2.14. Handle focusIn and focusOut Events
Chapter 3. Containers
Recipe 3.1. Position Children by Using Layout Management
Recipe 3.2. Position and Size Containers via Percentage Positioning
Recipe 3.3. Track Mouse Position Within Different Coordinate Systems
Recipe 3.4. Dynamically Add and Remove Children from a Container
Recipe 3.5. Use Constraint-Based Layout for Containers
Recipe 3.6. Set Maximum and Minimum Sizes for Children Within Containers
Recipe 3.7. Specify Constraint Rows and Columns for a Container
Recipe 3.8. Create Layout Flows for Text Using Constraints
Recipe 3.9. Control Scrolling and Overflow Within Containers
Recipe 3.10. Control the Layout of Box Components
Recipe 3.11. Use Containers for Initialization
Recipe 3.12. Create a TitleWindow
Recipe 3.13. Control a ViewStack via a LinkBar
Recipe 3.14. Bind the Selected Index of a ViewStack to a Variable
Recipe 3.15. Use Delayed Instantiation to Improve Startup Time
Recipe 3.16. Create and Control Resizable Containers
Recipe 3.17. Create, Enable, and Disable TabControls Within a TabNavigator
Recipe 3.18. Create a TabNavigator with Closeable Tabs
Recipe 3.19. Create and Control an Alert
Recipe 3.20. Size and Position a Dialog Box Based on Its Calling Component
Recipe 3.21. Manage Multiple Pop-up Dialog Boxes
Recipe 3.22. Scroll to a Specific Child in a Container
Recipe 3.23. Create a Template Using IDeferredInstance
Recipe 3.24. Manually Lay Out a Container
Recipe 3.25. Measure and Alter Container Size
Recipe 3.26. Control the Visibility and Layout of Children
Recipe 3.27. Create a Tile Container with Simple Reorganization
Recipe 3.28. Set a Background Image and Rounded Corners in an HBox
Recipe 3.29. Control Positioning and Scrolling of Child Components
Chapter 4. Text
Recipe 4.1. Correctly Set the Value of a Text Object
Recipe 4.2. Bind a Value to TextInput
Recipe 4.3. Create a Suggestive TextInput
Recipe 4.4. Create an In-Place Editor
Recipe 4.5. Determine All Fonts Installed on a User’s Computer
Recipe 4.6. Create a Custom TextInput
Recipe 4.7. Set the Style Properties for Text Ranges
Recipe 4.8. Display Images and SWFs in HTML
Recipe 4.9. Highlight User-Input Text in a Search Field
Recipe 4.10. Manipulate Characters as Individual Graphics
Recipe 4.11. Specify Styles for HTML in a TextField
Recipe 4.12. Use the RichTextEditor
Recipe 4.13. Apply Embedded Fonts with HTML
Recipe 4.14. Add a Drop Shadow to Text in a Text Component
Recipe 4.15. Find the Last Displayed Character in a TextArea
Chapter 5. Lists, Tiles, and Trees
Recipe 5.1. Create an Editable List
Recipe 5.2. Set Icons for Items in a List
Recipe 5.3. Add Effects to a List to Indicate Changes
Recipe 5.4. Set a Basic Item Renderer for a TileList
Recipe 5.5. Set XML Data for a Tree
Recipe 5.6. Create an Item Renderer for a Tree
Recipe 5.7. Use Complex Data Objects in a Tree Control
Recipe 5.8. Allow Only Certain Items in a List to Be Selectable
Recipe 5.9. Format and Validate Data Added in a List’s Item Editor
Recipe 5.10. Track All Selected Children in a TileList
Recipe 5.11. Use and Display Null Items in an Item Renderer
Recipe 5.12. Create a Right-Click Menu for a List
Recipe 5.13. Customize the Appearance of a Selection in a List
Chapter 6. DataGrid and Advanced DataGrid
Recipe 6.1. Create Custom Columns for a DataGrid
Recipe 6.2. Specify Sort Functions for DataGrid Columns
Recipe 6.3. Enable Multicolumn Sorting in a DataGrid
Recipe 6.4. Filter Items in a DataGrid
Recipe 6.5. Create Custom Headers for an AdvancedDataGrid
Recipe 6.6. Handle Events from a DataGrid/AdvancedDataGrid
Recipe 6.7. Select Items in an AdvancedDataGrid
Recipe 6.8. Enable Drag-and-Drop in a DataGrid
Recipe 6.9. Edit Items in a DataGrid
Recipe 6.10. Search Within a DataGrid and Autoscroll to the Match
Recipe 6.11. Generate a Summary for Flat Data by Using GroupingCollection
Recipe 6.12. Create an Async Refresh for a GroupingCollection
Chapter 7. Renderers and Editors
Recipe 7.1. Create Your Own Renderers
Recipe 7.2. Use the ClassFactory to Generate Renderers
Recipe 7.3. Access the Component That Owns a Renderer
Recipe 7.4. Create a Single Component to Act as Renderer and Editor
Recipe 7.5. Create an Item Editor to Handle Data with Multiple Fields
Recipe 7.6. Display SWF Objects as Items in a Menu by Using an Item Renderer
Recipe 7.7. Select a DataGrid Column with a CheckBox Header Renderer
Recipe 7.8. Create a Self-Contained CheckBox itemRenderer for Use in a DataGrid
Recipe 7.9. Efficiently Set Images in a Renderer
Recipe 7.10. Use Runtime Styling with itemRenderers and itemEditors
Recipe 7.11. Use States and Transitions with an itemEditor
Recipe 7.12. Create a CheckBox Tree Control
Recipe 7.13. Resize Renderers Within a List
Chapter 8. Images, Bitmaps, Videos, Sounds
Recipe 8.1. Load and Display an Image
Recipe 8.2. Create a Video Display
Recipe 8.3. Play and Pause an MP3 File
Recipe 8.4. Create a Seek Bar for a Sound File
Recipe 8.5. Blend Two Images
Recipe 8.6. Apply a Convolution Filter to an Image
Recipe 8.7. Send Video to an FMS Instance via a Camera
Recipe 8.8. Access a User’s Microphone and Create a Sound Display
Recipe 8.9. Smooth Video Displayed in a Flex Application
Recipe 8.10. Check Pixel-Level Collisions
Recipe 8.11. Read and Save a User’s Webcam Image
Recipe 8.12. Use Blend Modes with Multiple Images
Recipe 8.13. Handle Cue Points in FLV Data
Recipe 8.14. Create a Video Scrubber
Recipe 8.15. Read ID3 Data from an MP3 File
Recipe 8.16. Display a Custom Loader while Loading Images
Recipe 8.17. Enable Image Upload in Flex
Recipe 8.18. Compare Two Bitmap Images
Chapter 9. Skinning and Styling
Recipe 9.1. Use CSS to Style Components
Recipe 9.2. Override the Default Application Style
Recipe 9.3. Embed Styles by Using CSS
Recipe 9.4. Override Base Style Properties
Recipe 9.5. Customize Styles at Runtime
Recipe 9.6. Load CSS at Runtime
Recipe 9.7. Declare Styles at Runtime
Recipe 9.8. Create Custom Style Properties for Components
Recipe 9.9. Use Multiple Themes in the Same Application
Recipe 9.10. Compile a Theme SWC
Recipe 9.11. Use Embedded Fonts
Recipe 9.12. Embed Fonts from a SWF File
Recipe 9.13. Skin with Embedded Images
Recipe 9.14. Apply Skins from a SWF File
Recipe 9.15. Programmatically Skin a Component
Recipe 9.16. Programmatically Skin a Stateful Control
Recipe 9.17. Create Animated Skins from a SWF File
Recipe 9.18. Customize the Preloader
Chapter 10. Dragging and Dropping
Recipe 10.1. Use the DragManager Class
Recipe 10.2. Specify a Drag Proxy
Recipe 10.3. Drag and Drop Within a List
Recipe 10.4. Drag and Drop Between Lists
Recipe 10.5. Enable and Disable Drag Operations
Recipe 10.6. Customize the DragImage of a List-Based Control
Recipe 10.7. Customize the Drop Indicator of a List-Based Control
Chapter 11. States
Recipe 11.1. Set Styles and Properties in a State
Recipe 11.2. Create Transitions to Enter and Leave States
Recipe 11.3. Use the AddChildAction and RemoveChildAction
Recipe 11.4. Filter Transitions to Affect Only Certain Types of Children
Recipe 11.5. Apply Parts of a Transition to Certain Children
Recipe 11.6. Base a State on Another State
Recipe 11.7. Integrate View States with HistoryManagement
Recipe 11.8. Use Deferred Instance Factories with States
Recipe 11.9. Use Data Binding with Objects Added in a State
Recipe 11.10. Add and Remove Event Listeners in State Changes
Recipe 11.11. Add View States to a Flash Component
Recipe 11.12. Work with State Change Events
Recipe 11.13. Dynamically Generate and Use New States and Transitions
Recipe 11.14. Create Custom Actions to Use in a State
Chapter 12. Effects
Recipe 12.1. Call an Effect in MXML and in ActionScript
Recipe 12.2. Build a Custom Effect
Recipe 12.3. Create Parallel Series or Sequences of Effects
Recipe 12.4. Pause, Reverse, and Restart an Effect
Recipe 12.5. Create Custom Effect Triggers
Recipe 12.6. Create Tween Effects
Recipe 12.7. Use the DisplacementMapFilter Filter in a Flex Effect
Recipe 12.8. Create an AnimateColor Effect
Recipe 12.9. Use the Convolution Filter to Create a Tween
Chapter 13. Collections
Recipe 13.1. Add, Sort, and Retrieve Data from an ArrayCollection
Recipe 13.2. Filter an ArrayCollection
Recipe 13.3. Determine When an Item Is Modified in an ArrayCollection
Recipe 13.4. Create a GroupingCollection
Recipe 13.5. Create a Hierarchical Data Provider for a Control
Recipe 13.6. Navigate a Collection Object and Save Your Position
Recipe 13.7. Create a HierarchicalViewCollection Object
Recipe 13.8. Filter and Sort an XMLListCollection
Recipe 13.9. Sort on Multiple Fields in a Collection
Recipe 13.10. Sort on Dates in a Collection
Recipe 13.11. Create a Deep Copy of an ArrayCollection
Recipe 13.12. Use Data Objects with Unique IDs
Chapter 14. Data Binding
Recipe 14.1. Bind to a Property
Recipe 14.2. Bind to a Function
Recipe 14.3. Create a Bidirectional Binding
Recipe 14.4. Bind to Properties by Using ActionScript
Recipe 14.5. Use Bindable Property Chains
Recipe 14.6. Bind to Properties on XML by Using E4X
Recipe 14.7. Create Customized Bindable Properties
Recipe 14.8. Bind to a Generic Object
Recipe 14.9. Bind to Properties on a Dynamic Class
Chapter 15. Validation, Formatting, and Regular Expressions
Recipe 15.1. Use Validators and Formatters with TextInput and TextArea Controls
Recipe 15.2. Create a Custom Formatter
Recipe 15.3. Create a More-International Zip Code Validator by Using Regular Expressions
Recipe 15.4. Create a Validator to Validate UPCs
Recipe 15.5. Validate Combo Boxes and Groups of Radio Buttons
Recipe 15.6. Show Validation Errors by Using ToolTips in a Form
Recipe 15.7. Use Regular Expressions for Locating Email Addresses
Recipe 15.8. Use Regular Expressions for Matching Credit Card Numbers
Recipe 15.9. Use Regular Expressions for Validating ISBNs
Recipe 15.10. Create Regular Expressions by Using Explicit Character Classes
Recipe 15.11. Use Character Types in Regular Expressions
Recipe 15.12. Match Valid IP Addresses by Using Subexpressions
Recipe 15.13. Use Regular Expressions for Different Types of Matches
Recipe 15.14. Match Ends or Beginnings of Lines with Regular Expressions
Recipe 15.15. Use Back-References
Recipe 15.16. Use a Look-Ahead or Look-Behind
Chapter 16. Charting
Recipe 16.1. Create a Chart
Recipe 16.2. Add Effects to Charts
Recipe 16.3. Select Regions of a Chart
Recipe 16.4. Format Tick Marks for a Chart
Recipe 16.5. Create a Custom Label for a Chart
Recipe 16.6. Create a Drill-Down Effect for a Columnar Chart
Recipe 16.7. Skin Chart Items
Recipe 16.8. Use ActionScript to Dynamically Add and Remove Columns for a Chart
Recipe 16.9. Overlap Multiple ChartSeries
Recipe 16.10. Drag and Drop Items in a Chart
Recipe 16.11. Create an Editable Line Chart
Chapter 17. SharedObjects
Recipe 17.1. Create a SharedObject
Recipe 17.2. Write Data into a SharedObject
Recipe 17.3. Save a Local SharedObject
Recipe 17.4. Read Data from a SharedObject
Recipe 17.5. Remove Data from a SharedObject
Recipe 17.6. Serialize Typed Objects
Recipe 17.7. Access a SharedObject Between Multiple Flash Applications
Recipe 17.8. Remember TextInput Values for Returning Users
Chapter 18. Working with Services and Server-Side Communication
Recipe 18.1. Configure an HTTPService
Recipe 18.2. Use RESTful Communication Between Flex Applications
Recipe 18.3. Configure and Connect to a RemoteObject
Recipe 18.4. Use Flex Remoting with AMFPHP 1.9
Recipe 18.5. Use the IExternalizable Interface for Custom Serialization
Recipe 18.6. Track Results from Multiple Simultaneous Service Calls
Recipe 18.7. Use Publish/Subscribe Messaging
Recipe 18.8. Register a Server-Side Data Type Within a Flex Application
Recipe 18.9. Communicate with a WebService
Recipe 18.10. Add a SOAP Header to a Request to a WebService
Recipe 18.11. Parse a SOAP Response from a WebService
Recipe 18.12. Communicate Securely with AMF by Using SecureAMFChannel
Recipe 18.13. Send and Receive Binary Data via a Binary Socket
Recipe 18.14. Communicate Using an XMLSocket
Chapter 19. XML
Recipe 19.1. Load an XML File
Recipe 19.2. Navigate an XML Document in E4X
Recipe 19.3. Use Regular Expressions in E4X Queries
Recipe 19.4. Add an XMLList to an XML Object
Recipe 19.5. Bind to an XMLList or an E4X Query
Recipe 19.6. Generate XML Objects from Arrays
Recipe 19.7. Handle Namespaces in XML Returned by a Service
Recipe 19.8. Encode an ActionScript Data Object as XML
Recipe 19.9. Populate a Component with Complex XML Data
Recipe 19.10. Decode XML from a Web Service into Strongly Typed Objects
Chapter 20. Browser Communication
Recipe 20.1. Link to an External URL
Recipe 20.2. Work with FlashVars
Recipe 20.3. Invoke JavaScript Functions from Flex
Recipe 20.4. Invoke ActionScript Functions from JavaScript
Recipe 20.5. Change the HTML Page Title via BrowserManager
Recipe 20.6. Parse the URL via BrowserManager
Recipe 20.7. Deep-Link to Data via BrowserManager
Recipe 20.8. Deep-Link Containers via BrowserManager
Recipe 20.9. Implement Custom History Management
Chapter 21. Development Strategies
Recipe 21.1. Use the Flex Component Kit to Create Components
Recipe 21.2. Use the ContainerMovieClip to Create Flex Containers in Flash
Recipe 21.3. Import Components from Flash CS3
Recipe 21.4. Get Started with the Cairngorm Architecture
Recipe 21.5. Create a Cairngorm View, Event, and Model
Recipe 21.6. Create Cairngorm Commands and a Business Delegate Class
Recipe 21.7. Create a Cairngorm FrontController and a ServiceLocator
Recipe 21.8. Generate an Application Structure with the Cairngen Framework Generator
Recipe 21.9. Learn Common Performance-Tuning Tricks
Recipe 21.10. Create Custom Metadata Properties for a Component
Chapter 22. Modules and Runtime Shared Libraries
Recipe 22.1. Create a Runtime Shared Library
Recipe 22.2. Use Cross-Domain Runtime Shared Libraries
Recipe 22.3. Use the Flex Framework as a Runtime Shared Library
Recipe 22.4. Optimize a Runtime Shared Library
Recipe 22.5. Create an MXML-Based Module
Recipe 22.6. Create an ActionScript-Based Module
Recipe 22.7. Load a Module by Using ModuleLoader
Recipe 22.8. Use ModuleManager to Load Modules
Recipe 22.9. Load Modules from Different Servers
Recipe 22.10. Communicate with a Module
Recipe 22.11. Pass Data to Modules by Using Query Strings
Recipe 22.12. Optimize Modules by Using Linker Reports
Chapter 23. The Adobe Integrated Runtime API
Recipe 23.1. Create an AIR Application Leveraging the Flex Framework
Recipe 23.2. Understand the AIR Command-Line Tools
Recipe 23.3. Open and Manage Native Windows
Recipe 23.4. Create Native Menus
Recipe 23.5. Read and Write to a File
Recipe 23.6. Serialize Objects
Recipe 23.7. Use the Encrypted Local Store
Recipe 23.8. Browse for Files
Recipe 23.9. Use the AIR File System Controls
Recipe 23.10. Use the Native Drag-and-Drop API
Recipe 23.11. Interact with the Operating System Clipboard
Recipe 23.12. Add HTML Content
Recipe 23.13. Cross-Script Between ActionScript and JavaScript
Recipe 23.14. Work with Local SQL Databases
Recipe 23.15. Detect and Monitor a Network Connection
Recipe 23.16. Detect User Presence
Recipe 23.17. Create System Tray and Dock Applications
Chapter 24. Unit Testing with FlexUnit
Recipe 24.1. Create an Application That Uses the FlexUnit Framework
Recipe 24.2. Create an Application to Run FlexUnit Tests
Recipe 24.3. Create a FlexUnit Test Case
Recipe 24.4. Add a Test Case to a Test Suite
Recipe 24.5. Run Code Before and After Every Test
Recipe 24.6. Share Test Data Between Test Cases
Recipe 24.7. Handle Events in a Test Case
Recipe 24.8. Test Visual Components with FlexUnit
Recipe 24.9. Install and Configure Antennae
Recipe 24.10. Generate Automated Test Suites
Chapter 25. Compiling and Debugging
Recipe 25.1. Use Trace Statements Without Flex Builder
Recipe 25.2. Use the Component Compiler
Recipe 25.3. Install the Flex Ant Tasks
Recipe 25.4. Use the compc and mxmlc Tasks in the Flex Ant Tasks
Recipe 25.5. Compile and Deploy Flex Applications That Use RSLs
Recipe 25.6. Create and Monitor Expressions in Flex Builder Debugging
Recipe 25.7. Install the Ant View in the Stand-Alone Version of Flex Builder
Recipe 25.8. Create an Ant Build File for Automating Common Tasks
Recipe 25.9. Compile a Flex Application by Using mxmlc and Ant
Recipe 25.10. Generate Documentation by Using ASDoc and Ant
Recipe 25.11. Compile Flex Applications by Using Rake
Recipe 25.12. Use ExpressInstall for Your Application
Recipe 25.13. Use Memory Profiling with Flex Builder 3 to View Memory Snapshots
Chapter 26. Configuration, Internationalization, and Printing
Recipe 26.1. Add an International Character Set to an Application
Recipe 26.2. Use a Resource Bundle to Localize an Application
Recipe 26.3. Use the ResourceManager for Localization
Recipe 26.4. Use Resource Modules for Localization
Recipe 26.5. Support IME Devices
Recipe 26.6. Detect a Screen Reader
Recipe 26.7. Create a Tabbing Reading Order for Accessibility
Recipe 26.8. Print Selected Items in an Application
Recipe 26.9. Format Application Content for Printing
Recipe 26.10. Control Printing of Unknown Length Content over Multiple Pages
Recipe 26.11. Add a Header and a Footer When Printing