Table Of Contents - Adobe FLEX 2 - CREATING AND EXTENDING COMPONENTS Manual

Creating and extending flex 2 components
Hide thumbs Also See for FLEX 2 - CREATING AND EXTENDING COMPONENTS:
Table of Contents

Advertisement

Contents
Chapter 1: About Flex Documentation . . . . . . . . . . . . . . . . . . . . . . . 7
PART 1: CREATING CUSTOM FLEX COMPONENTS
Chapter 2: Creating Flex Components . . . . . . . . . . . . . . . . . . . . . . 13
About creating components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Creating custom components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Where to go from here . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Using ActionScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Chapter 4: Creating Custom Events . . . . . . . . . . . . . . . . . . . . . . . 35
About events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Dispatching custom events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
About metadata tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Metadata tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Chapter 6: Compiling Components. . . . . . . . . . . . . . . . . . . . . . . . .63
About compiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Compiling components with Flex 2 SDK . . . . . . . . . . . . . . . . . . . . . . . . 66
Compiling components with Flex Data Services. . . . . . . . . . . . . . . . . . .72
Chapter 7: Creating Simple MXML Components . . . . . . . . . . . . . 77
About MXML components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Scoping in custom components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Applying styles to your custom component . . . . . . . . . . . . . . . . . . . . . . 84
3

Advertisement

Table of Contents
loading

Table of Contents