-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Flex 3 with Java

Originally, ActionScript was developed as a way for Flash developers to program interactivity in Flash applications. Since then, it has evolved from being a minor programming language to its current form as a sophisticated object-oriented programming language. However, before you start writing code, you need to understand some fundamental concepts of ActionScript 3.0.
As you progress through this book, you will see these concepts in action. However, having knowledge about OO programming would be an added benefit. If you have done any programming in Java or any other OOP language, then you will quickly pick up speed.
Variables are used to store temporary values during the execution of your application. To declare a variable in ActionScript 3.0, you must use the var
keyword followed by the variable name. You can declare a variable with or without a value. Variables are declared and set with a statement, as shown here:
<variable_scope> var <variable_name...
Change the font size
Change margin width
Change background colour