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 Sat, Dec 22nd, 2007 at 8:44 am
Categorized under Technology and has the following tags

Prev Article:

Next Article:

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 4 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.

  4. I think If you already have some knowledge about previous versions of action script then you can easily understand action script 3.0. because this is full object oriented programming language and really hard to learn for novices. Class, package, event model, display list, xmlList are the topics that are not easy to understand at first time. Make understandable these thing you have to base knowledge of previous versions of action script. Actually Action Script 3.0’s main focus is creating complex application in flash, for this you have to have good programming skills otherwise if you are flash website designer no need to learn complex action script 3.0 because action script 3.0 is really complex programming language and you can do most of the task in action script 2.0.

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.

12 Hottest Geek Girls on Twitter

So, you have seen the 12 Hottest Geek Girls (via Digg). However, they forgot to link them to their, hmmmmmm errrr, Twitter profiles so you can follow them. Or perhaps they felt -- they're popular ...13th Oct, 2009

Great Indian Developer Summit 2009

I got a Press Release of the upcoming GIDS '09 and here is an excerpt. The summit's program covers Java, REST, Unit testing, Groovy, Spring, Struts 2.0, SOA, Cloud Computing, Web Services, JRuby, RoR, Ruby, JVM, ...21st Jan, 2009

The flourishing gun market in Pakistan

VICE Travel: Darra, Pakistanby Top-Notch112 (Via: Deep Green Crystals) 20th Jan, 2009

Angry Ringtone for iPhone and others

[audio:http://audio.brajeshwar.com/angry-ring-ring.mp3] The ANGRY RINGTONE for iPhone. (Click the PLAY button above!) Download * iPhone Ringtone (.m4r) * MP3 Ringtone (.mp3) * Zipped (both .m4r and .mp3) To use it as an iPhone Ringtone; just double click the file "angry-ring-ring.m4r" and it ...15th Jan, 2009

IIM Ahmedabad's Leverage 2009

Leverage, the Venture Capital and Private Equity Club of IIM Ahmedabad and the Centre for Innovation Incubation and Entrepreneurship bring to you the 1st edition of the Venture Capital and Private Equity Conference on the ...12th Jan, 2009

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • Ode to Apple Dedicated to Apple – Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.
  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • Downloads All downloads, Free and Open Source.

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. More about me.

Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 980 Articles and 6,660 comments, contained within 17 categories and 1,593 tags.