CSS is not a programming language.
XML and HTML are Markup languages. Not programming languages.
PHP is a server side scripting language. In fact, Actionscript is also a scripting language. As is Javascript.
Programming Languages are for example: C, C++, Basic, Java, C#, Ruby, Python, Ada, Delphi, Pascal.
So lets not get confused now.
Generally, most people will say it is easier to get started with Java (lets not forget it costs nothing to get started). If you wanted to learn AS… sure, but you’d still need to use flash to get the most out of it, which means, shelling out money.
Actionscript 2 is definately not like java, in terms of concepts. Syntactically, it is similar. But there are very little chances for object orientated concepts like java. For example
This would be completely disallowed in java. (in fact, this is going to be obsolete)
onClipEvent(enterFrame)
{
//blah blah blah
}
Actionscript 3 (
ECMA Script) is a completely new beast, and shares many similarities with more “adult” languages. It is leaning more towards object orientated stuff, and packages, imports etc. Therefore, Java programmers will find themselves almost at ease in AS3.
AS3
public function main():returnType
{
private var test:ObjectType = new ObjectType();
}
Java
public returnType main()
{
ObjectType test = new ObjectType();
}