Chapter 13: Working with View States; Scenarios for States; Managing States in Design Mode; Making a Login/Registration Form; Applying States to the Search Application; Summary; Chapter 14: Applying Effects, Transitions, and Filters; Effects; Transitions; Filters; Summary; Chapter 15: Styling and Skinning; Inline Style Assignments; Style Blocks and CSS; External CSS; Skinning; Summary; Chapter 16: Making Data Dynamic: Linking Flex to the Server; Some Background Information; The ContactManager Application; Linking ContactManager to the Server Using the HTTPService Class; Summary
Learn Adobe Flex 4 in a fun and engaging way with this book's unique, hands-on approach. Using clear examples and step-by-step coaching from two experts, you'll create four applications that demonstrate fundamental Flex programming concepts. Throughout the course of this book, you'll learn how to enhance user interaction with ActionScript, and create and skin a user interface with Flex's UI components (MXML) and Adobe's new FXG graphics format. You'll also be trained to manage dynamic data, connect to a database using server-side script, and deploy applications to both the Web and the desktop. L
Includes bibliographical references
Print version record
Table of contents; Preface; Chapter 1: Getting Up to Speed; What Is Flex?; What About AIR?; Where Flex Fits; Why Use Flex?; How Flex Compares to Other Technologies; When Not to Use Flex; Summary; Chapter 2: Setting Up Your Environment; Using Alternatives to Flash Builder; Introducing Flash Builder and Eclipse; Running Your First Application; Creating a New Flex Project; Summary; Chapter 3: Using Design Mode; A Blank Slate: Your First Project; Adding Components to the Application; Exploring Common Components; Modifying Properties Directly; Summary; Chapter 4: Using Source Mode
What Design Mode DoesAnatomy of a Flex Application; Adding Components in Source Mode; Code Completion; MXML in Depth; S, FX, and MX: Namespaces Explained; Summary; Chapter 5: ActionScript Basics for Flex Applications; Getting Ready; Dot Notation; Inline ActionScript; Assignment and Concatenation; Functions; Variables; Data Types; Objects; Classes; ActionScript's Relationship with MXML; Comments?; Summary; Chapter 6: Debugging Flex Applications; Outputting Values to the Console Using trace(); Inspecting Event Properties with trace(); Using Breakpoints; Summary
Chapter 7: Adding Interaction with ActionScriptUnderstanding Events; Common Events; Researching Events; Listening for and Responding to Events; Collision! A Whirlwind of Events; Summary; Chapter 8: Using Data Binding; What Is Data Binding?; Applying Data Binding; Two-Way Bindings; Handling Complex Data with Data Models; When Data Binding Isn't Appropriate; Summary; Chapter 9: Designing Application Layouts; Types of Layouts; The Display List; Sizing; Controlling Whitespace in the Layout; Advanced Containers; Spacers and Lines; Alignment; Constraints-Based Layout; Summary
Chapter 10: Creating Rich FormsPreparing a Form-Based Application; Validating Data; Restricting Input; Formatting Input; Combining Restrictions and Formatters; Linking Formatters to Functions; Summary; Chapter 11: Gathering and Displaying Data; Using List-Based Controls; Using XML Data; Implementing List Selection; Connecting to Search Results; Dragging and Dropping in Lists; Creating Custom Item Renderers; Working with External Data Services; Summary; Chapter 12: Controlling Visibility and Navigation; Controlling Visibility; Navigation Components; Creating a Photo Gallery Application