<< Chapter < Page | Chapter >> Page > |
Beginning in the Fall 2010 semester, I will upgrade my Introduction to XML course to include both Flex 3 and Flex 4.
Flex is a cryptic shorthand programming language
The important thing to remember is that Flex (versions 3 and 4) is simply cryptic xml-based shorthand programming languages that can be used tocreate some aspects ActionScript programs. You should also remember that anything that can be programmed in Flex can be programmed directly inActionScript. However, the reverse is not true.
When Adobe released Flex 4 and Flash Builder 4, they actually added a large number of classes to the ActionScript application programming interface (API) . So, the real question is not whether you should use Flex 4. The real question is whether the new classes that were added to the API are useful inyour application. If so, use them. If not, stick with the classes that were part of the API before the new classes were added.
Understanding Flex
If you really want to understand Flex (instead of simply using it in cookbook fashion) you need to learn about object-oriented programming using ActionScript.
I recommend that you open another copy of this document in a separate browser window and use the following links to easily find and view the figures andlistings while you are reading about them.
I recommend that you also study the other lessons in my extensive collection of online programming tutorials. You will find a consolidated index at www.DickBaldwin.com .
You learned how to create a Flex project named AppBackground01 using Flex Builder 3 in the earlier lesson titled The Default Application Container - Flex 3 and Flex 4 . However, Flex Builder 3 is no longer available from the Adobe website.
Therefore, in this lesson, I will explain how to create the same Flex project in three different ways. However, in this lesson, I will shorten the name of theproject by changing the project name to test .
Run the program
Before continuing, I suggest that you run the program to familiarize yourself with the screen output.
Different ways to create Flex 3 applications
Here is a list of four different ways that you can create Flex 3 applications:
Notification Switch
Would you like to follow the 'Introduction to xml' conversation and receive update notifications?