Prev | Current Page 91 | Next

LordAlex Leon, Greg Goralski

"Foundation Flex for Designers"

0 key concepts
We have already seen that building Flex applications often involves a combination of
components and ActionScript. We have tried to keep the ActionScript in our examples
simple and clear, but as the interaction becomes more complex, so does the
ActionScript involved. Now is a good time to look at ActionScript 3.0 and to familiarize
yourself with some of the ActionScript that we will be working with in the next few
chapters. The intention of this chapter is not to make you a developer or to teach programming,
but to give you an understanding of how ActionScript works and relates to
the components. This will ultimately make you a better Flex designer.
Overview
Flex uses ActionScript 3.0. This is the current version of ActionScript and a significant
jump in capability from ActionScript 2. It is more powerful, can use larger data sets,
and is much faster (up to 10 times faster) than previous versions. In many ways,
ActionScript 3.0 provides greater scope in the creation and development of more
complex Flex applications. ActionScript 3.0 is an object-oriented programming (OOP)
135
ACTIONSCRIPT IN FLEX
Chapter 7
language, and before we can start talking about ActionScript we need to have a general understanding
of the meaning of object-oriented programming.
What is object-oriented programming?
Object-oriented programming isn??™t as scary as it sounds; it??™s just a popular way of writing programs,
and is the style that??™s used in ActionScript 3.


Pages:
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103