You may find the following resources are useful.
http://www.adobe.com/macromedia/events/john_gay/
http://en.wikipedia.org/wiki/Adobe_Flash http://www.ehow.com/about_5257148_history-macromedia-flash.html http://en.wikipedia.org/wiki/ActionScript
http://www.computus.org/journal/?p=17
http://www.digital-web.com/articles/the_road_to_actionscript_3/
| AS3.0 (Macromedia ; Adobe) | C# (Microsoft) | Java (Sun Micro Systems ; Oracle) | |
| OOP? | Object oriented programming language | Object oriented programming language | Object oriented programming language |
| Common data types | Int Var myInt : int; Var myInt: int = 10; |
Int Int myInt; Int myInt = 10; |
Int Int myInt; Int myInt = 10; |
| String Var myString : String = “HELLO”; | String String myString = “HELLO”; | String String myString = “HELLO”; | |
| Boolean Var amIRight : Boolean = true; |
Boolean Boolean amIRight = true; |
Boolean Boolean amIRight = true; |
|
| Array Var myarray :Array = new Array(); | Array Array myarray = new Array(); | Array Array myarray = new Array(); | |
| Allows self-defined class/object Var brick1 :Brick = ne Brick(); | Allows self-defined class/object Brick brick1 = new Brick(); | Allows self-defined class/object Brick brick1 = new Brick(); | |
| Using functions | myString.toLowerCase(); /* Produce the lower case version - hello */ |
String csString = "Apple Jack"; csString.ToLower(); /* Does not modify string, instead returns lower case copy of string */ |
String jString = "Grapes"; jString.toLowerCase(); /* Does not modify string, instead returns lower case copy of string */ |
| Class structure | Package{ Import flash.System; Class A { Public function A() { Trace (“Hello World”); } } } |
using System; class A{ public static void Main(String[] args){ Console.WriteLine("Hello World!"); } Public A(){ } } |
class B{ public static void main(String[] args){ System.out.println("Hello World!"); } Public B(){ } } |
| FOR Loop | For (var i:int = 0; i<=10; i++){ Trace(i); } |
for(int i=0; i<5; i++) { Console.WriteLine("Statement 1"); } | for (int i = 1; i < 100; i = i+1) { System.out.println(i); } |
| IF statement | If(y>=20){ Trace(“A string here”); } else { Trace(“A different string here”); } |
if (y >= 20){ Console.Write("Statement_1"); } else{ Console.Write("Statement_2"); } |
If(I >= 20) { System.out.println(i); }else { System.out.println(i); } |
| Commenting | //single line of comment | //single line of comment | //single line of comment |
| /* Multiline comment */ |
/* Multiline comment */ |
/* Multiline comment */ |
| There are differences! They are for you to find out when you learn the languages! What are different? Many things are different. For example, the runtime engines are different – from different companies. Three different cars look similar in colour, shape and size. But they run on electrical battery, petrol and hybrid (combining petrol & battery) correspondingly. They are also using different transmission methods – automatic or manual gear boxes. One is rear wheel drive, one is four wheel drive and one is front wheel drive! |
It is embedded in Flash Professional CS3 and higher versions. It is similar to the powerful modern OOP languages such as Java and C#. It will help me understand them in future if I need to learn them.
You may use my examples of C# and Java. But you must provide your own examples for AS3.0.
From the moment of having a game idea, to the final product on the shelf of a game shop, what should be done? Use your idea to illustrate.
http://techcrunch.com/2011/11/09/why-adobe-failed/