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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.