Chapter 2. ActionScript 3, XML, and E4X

If you don’t know a decent amount of ActionScript 3, Flex 4 will always be a mystery. So in this chapter, you’ll learn the basics of ActionScript 3. Once again, we’ll build a series of self-contained workshop sessions. However, to minimize context switching we’ll base them on a similar toy example. These workshop sessions will explain numerous concepts at once, since it’s hard to explain arrays without involving looping, and vice versa. Also, we’ll cover multiple concepts at once out of necessity: there are entire books devoted to learning ActionScript 3—and this is not one of those books. Instead, we’ll ...

Get Hello! Flex 4 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.