BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

Is the ActionScript 3.0 Debate Over?

by Moxie Zhang on Sep 26, 2008 |

Since Colin Moock, an independent Flash platform expert, published his post on O’Reilly InsideRIA titled “The Charges against ActionScript 3.0” in July, the Flash/Flex community has been actively engaged in the discussion.

In kicking off the debate Moock stated, “…many Flash users are still frustrated by some of the workflow changes introduced by ActionScript 3.0. The truly problematic changes are relatively few, but together they have a deep effect on the typical Flash user's daily job.”

In his post, Moock brought up nine charges against ActionScript 3.0:

    1. The removal of on()/onClipEvent() from Flash CS3 makes creating simple interactivity hard.
    2. Getting rid of loaded .swf files is hard.
    3. Casting DisplayObject.parent makes controlling parent movie clips hard.
    4. The removal of getURL() makes linking hard.
    5. The removal of loadMovie() makes loading .swf files and images hard.
    6. ActionScript 3.0's additional errors make coding cumbersome.
    7. Referring to library symbols dynamically is unintuitive.
    8. Adding custom functionality to manually created text fields, to all movie clips, or to all buttons is cumbersome.
    9. The removal of duplicateMovieClip() makes cloning a MovieClip instance (really) hard

Moock also gives very through explanations and suggestions related to each of the charges.

Leif Wells from Atlanta Flash Community shared similar concerns, noting, “I have user group members literally break out in a cold sweat when we show them any ActionScript 3.0 code, and no wonder. Now they're all interested in Flash Player 10 features, but a lot of them do not have the skills to use those features yet.”

However, Francis Lukesh, Interactive Director at andCulture, takes a different view regarding the Flash evolution. He says:

As someone who has worked with Flash since FutureSplash was acquired by Macromedia, and as someone with both a design/animation and programming background, I agree with Adobe's decision to go with a more structured implementation of ActionScript in Flash with AS3. I believe it is a strategic move to position Flash as a viable platform for true RIA development.

There's no reason that a toolkit couldn't be written that abstracts the API to provide some of the functionality mentioned in the article. It would streamline development for designers/animators, yet maintain the architectural integrity of AS3.

Matthew Tretter, of Exanimo, speaking as a developer not a designer, also expressed his disagreement on the charges:

In general, I'm pretty unsympathetic to charges that a programming language should be made so that non-programmers can use it. (Instead, I believe it should be made easier for programmers to use.) However, I think that some of the things you've pointed out are simply NOT more difficult, only different. Just because people are used to doing something one way, does not make it "more intuitive" or "easier." Sometimes, the familiar way is actually less intuitive, as I would argue in the case of the "on()" construct.

Flex developer, Steve, seemed to take the middle ground, noting, “As a full-time AS3 developer who has the luxury of using Flex Builder, I don't run into these issues much. But as someone who has worked with Flash for many, many years I fully understand the concern.”

Another Flash developer, John Isaacks, says he has adapted:

I have been using (programming and animated) Flash since version 4; ActionScript was the first language I ever learned. When ActionScript 3 came out, I was terrified, mainly because when I opened a new flash file and typed the code I was used to typing I got multiple errors.

…now my understanding of ActionScript far exceeds what it ever was before. I also find AS3 to be FAR more intuitive than AS2 in most cases (I still occasionally find myself stuck trying to do something that was easy in 2.0).

In responding these other views, Moock explains:

Plainly put, I am strongly in favor of hardcore programming tools. I love ActionScript 3.0, and I love that Flash has become a platform. It's great to see Adobe finally providing programmers with power tools, such as Flex Builder, the ActionScript 3.0 profiler, ASDoc, ANT integration, data services, a proper debugger, a command-line compiler, the Flex framework, a public bug database, MXML for UI development—and the list goes on. Adobe is doing a great job of catering to the programmer crowd, and their efforts are attracting an unprecedented number of new, serious developers to Flash.

As technologies evolving, such healthy discussion will continue.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

My 1st text editor is my favorite. by Vic _

Colin, is a designer, famous and should use his influence on Flex.

Programmers like Flex, and don't like Flash. The time line. Code can be anywhere, in any symbol.

Even when designers learn programing, they have a mindset of a designer, the apps look great.

And a programmer writes nice OO code, reusable, and... the app does not look nice.

Aka, I like vi, emcas sux, or if you 1st used emacs then the opposite.
.V

similar to VB6 to VB.NET by Roger Voss

This is similar to all the whining from the VB6 crowd when Microsoft upgraded VB into a real OOP language in VB.NET. Was a big clamor for a while. Then the smarter ones out of the old crowd upgraded their skills and took up VB.NET (where they discovered the advantages of a true OOP language vs. the script hacking kind of stuff they did before). These days the VB migration controversy has completely faded.

The same will happen with ActionScript3. Those that are on the ball will upgrade their skills. Those that insist on whining will fall behind their peers.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT