BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Is the ActionScript 3.0 Debate Over?

Is the ActionScript 3.0 Debate Over?

Bookmarks

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.

Rate this Article

Adoption
Style

BT