Datasheet
Task Flex Flash
Design Flex has a design view for WYSIWYG Flash has very good graphic design tools,
(“What You See Is What You Get”) although not as complete a toolkit as
application layout, but has no visual Illustrator. However, it has excellent tools
tools for creating graphic objects for importing and using graphics created
from scratch. in Photoshop and Illustrator.
Programming Flex supports ActionScript 3 and MXML. Flash supports all versions of ActionScript
languages (but only one version per Flash document)
and does not support MXML.
Code management Flex applications are created as source Flash documents are binary, which
code in text files, which are completely presents problems when building
compatible with source-code applications in multi-developer
management systems. environments that require source-code
management tools.
Applications built for development in the Adobe Integrated Runtime (AIR) can be cre-
ated in either Flex or Flash. AIR applications can be created from any compiled Flash
document or from HTML-based content.
Flex and Object-Oriented Programming
Flex application development is especially compelling for developers who are already acquainted
with object-oriented programming (OOP) methodologies. Object-oriented programming is a set of
software development techniques that involve the use of software “objects” to control the behavior
of a software application.
Object-oriented programming brings many benefits to software development projects, including
these:
Consistent structure in application architectures
Enforcement of contracts between different modules in an application
Easier detection and correction of software defects
Tools that support separation of functionality in an application’s various modules
You’ll find no magic bullets in software development: You can create an application that’s difficult
to maintain and at risk of collapsing under its own weight in an OOP language just as easily as you
can create one that primarily uses procedural programming. But a good understanding of OOP
principles can contribute enormously to a successful software development project.
And because ActionScript 3 is a completely object-oriented language, it serves Flex developers well
to understand the basic concepts of OOP and how they’re implemented in Flex development.
Object-oriented programming is commonly supported by use techniques known as modularity,
encapsulation, inheritance, and polymorphism.
NOTE
NOTE
9
About Flex 3
1
06_287644-ch01.qxp 6/23/08 11:28 PM Page 9