10 Creating Custom Code

Real-world development of Flex applications inevitably involves creating custom code. Instead of relying solely upon the predefined MXML components and ActionScript classes, you can easily create your own user interface controls, events, formatters, and validators. By using custom code you can better organize your projects and make them easier to maintain. Custom code can also be easily reused from one project to another.

Creating custom components is not as daunting as you might worry it would be, but the chapter does include a little bit more about Object-Oriented Programming (OOP), which you’ll need to know. Before and after that section, you’ll learn how to create both simple and more complex custom components. The ...

Get Effortless Flex 4 Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.