Quantcast

ActionScript 3.0: It is NOT hard to learn

I regularly hear people claim, incorrectly, that to use ActionScript 3.0, you have to know object-oriented programming, or every variable’s datatype must be declared, or everything has to be in packages and classes.

O’Reilly Digital Media just released an article from Colin Moock titled “ActionScript 3.0: Is It Hard or Not?“.

Here is a warning: This article is best suited for ActionScript Beginners.

I regularly hear people claim, incorrectly, that to use ActionScript 3.0, you have to know object-oriented programming, or every variable’s datatype must be declared, or everything has to be in packages and classes. In practice, none of those assertions are true. ActionScript 3.0 code can be placed on timelines, exactly as it was in ActionScript 2.0 and ActionScript 1.0. The code doesn’t have to reside in classes. Variable datatypes don’t have to be declared, even in the strict compilation mode. The language is designed to provide as much or as little structure and flexibility as the task at hand requires. If you prefer to program procedurally with functions and variables declared in frame scripts, you can continue to do so in ActionScript 3.0.

However true and a good motivational statement for developers who’re new to ActionScript, I’d say, “Once you’re through with it, curve yourself towards writing ActionScript 3.0 the better and the right way - object-oriented programming, declare every variable’s datatype, write package and classes.”

Nonetheless, I love Colin Moock’s innovative methodology to instill that sense of fearlessness, easy-to-program approach towards ActionScript 3.0. I’ve always been a big fan of him and will remain so. In the article, he looks at a series of comparative examples showing typical code that a new programmer might have to learn. He compares ActionScript 3.0 codes with their ActionScript 1.0 counterpart to show that it isn’t that hard at all to learn the new ActionScript 3.0.

Ah! I remembered that I still need to write a review of his awesome book - Essential ActionScript 3.0

Colin Moock


Don't like it? There are lots of published articles, pick a random one.

Brajeshwar posted this article on Saturday, December 22nd, 2007 at 8:44 am
Categorized under Technology and has the following tags

Suggest 1 or more tags for this article

Use a comma (,) to separate 2 or more tags.

[?]

Prev Article: DreamWorks Animation signs deal with Indian studio, Technicolor

Next Article: Google Researchers found vulnerabilities in Flash


Possibly Related Articles

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 3 responses so far. You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

  1. My biggest complaint with Flash / actionscript books in general is that they try to teach logic on the time line, rather then with OOP. The results are we get people in to interview that are quite proud of what they’ve done but their code is all over the place. And breaking somebody of a bad habit when the result still runs is near impossible. If somebody can’t code a simple class during an interview….interview over. Next!

  2. @Chris: With ActionScript 3, things are changing… There was no other (official tool) to write Flash applications and no book has covered open-source tools (mtasc, haxe, swfmill, asdt etc) in detail… Most of books were focussed on Flash IDE..

    With Flex, things have changed, Adobe has to come up different programming models hence a better (without timeline) way of doing things…

    All ActionScript way was/is doable with Flash IDE but not many people did. I have worked one projects, where we had single-frame (just to include actionscript).. I had stopped pressing CTRL+ENTER long time back, thanks to FlashCommand and some tool I wrote, to automate the build process…more time went on VIM + Terminal (to kick scripts - ant or sh) :-)

    Essential ActionScript 3.0 rocks, but Programming ActionScript 3.0 documentation by Adobe is also cool, very direct…

    -abdul

  3. Abdul made a very true and profound statement.

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Download Free book: The Photoshop Anthology

Sitepoint is giving away an entire 278 page Photoshop book for free (pdf). It will only be up for grabs for 30 days. The entire 278 page book, yours to keep, forever! The Photoshop Anthology: ...15th May, 2008

FreshAIRApps

James Whittaker's FreshAIRApps is not just a website that showcase some of the best and popular Adobe AIR Applications but also provides the community with AIR updates, tutorials and other resources. The Showcase is the main ...13th May, 2008

Adobe Feeds Aggregator

MXNA's been a good resource site for Adobe Technology with articles being aggregated from many blogs. However, of late, there were lots of uproar from the community as MXNA wasn't able to withstand the traffic ...6th May, 2008

Iron Man, the Movie

Images of Iron ManIron ManTony Stark is forced to build an armored suit after a life-threatening incident, he ultimately decides to use its technology to fight against evil. Tony Stark (Robert Downey Jr) is a billionaire ...1st May, 2008

Adobe AIR for JavaScript Developers

Reading Mike Chambers latest post let me to Ajaxian's article on the release of the free eBook -- Adobe AIR for JavaScript Developers Pocketguide. Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License, the book provides an ...18th Apr, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.
  • Downloads All downloads, Free and Open Source.
  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • Oinam The official conglomerate of the Oinam related companies, institutes and holdings.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications.

Want to know more about me?

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

"Brajeshwar" has 790 Articles and 5,587 comments, contained within 17 categories and 970 tags.

This site is in operation since 11th June, 2001.