This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Flex and the fly likes Actionscript with Flex Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Actionscript with Flex" Watch "Actionscript with Flex" New topic

Actionscript with Flex

Andy Daykin

Joined: Feb 01, 2008
Posts: 16
How would you characterize actionscript as a language? Is it object oriented, statically or dynamically typed? What kind of physics and animation libraries are provided by actionscript for developing rich user interfaces?
Dan Orlando
Ranch Hand

Joined: Mar 04, 2010
Posts: 31
Wow. Well, I'll try and refrain from writing a book for you here...that's what Flex 4 in Action is for

In short, with the release of AS3 in 2006, ActionScript became a mature, object-oriented language with a lot of its roots coming from Java (this is generally the reason Java devs find it a lot easier to pick up Flex and AS3 than those that come from non-Java backgrounds). AS3 is both statically and dynamically typed, but best practices must be taken into account when using the static keyword. In other words, if you're going to declare something static, you should have a good reason to do so, otherwise we leave it dynamic. Animation is where AS3 excels (in my opinion) above all other languages since it was originally created specifically for the purpose of creating animated content for the web. However, that was about 12 years ago, and 12 "computer years" is quite a long time... We now have an abundance of open source frameworks for 3D, Physics engines, and the like. Off the top of my head, the obvious ones to look at would be: Papervision3D, Away3D, Flare, Axiis, and well, I could probably go on until I'm blue in the face. Its not hard to find these code libraries as there are very active communities surrounding them.

Dan Orlando
Adobe Community Professional
Author, Flex 4 in Action (Manning Press)
Andy Daykin

Joined: Feb 01, 2008
Posts: 16
Excellent, I'm a cs major and they teach a lot of java, so that is encouraging to know. It's always good to have an active community around these libraries, as you will undoubtedly run into problems with them, and a good community will always provide good tutorials.
I agree. Here's the link:
subject: Actionscript with Flex
Similar Threads
Issue while Posting data using navigateToURL
Explain these syntax errors please
Want to Learn some other Programming Language
How to Map Java Beans to appropiate ActionScript class ??