Is actionscript hard to learn?

10 replies
I am thinking of learning programming for adobe flash, is it hard?

I only have experience with html and css but I am not a pro at either.

I once tried to learn php but quickly learned about wordpress which automates stuff without the need to know php.

So is actionscript hard?
#actionscript #hard #learn
  • Profile picture of the author khay
    Depends, really. HTML and CSS aren't programming languages - they're markup and formatting languages. Javascript and Actionscript are functional so you introduce logical clauses for the various outcomes you need to handle.

    That said, there are an awful lot of tutorials on the 'net. Try some of the examples over at w3schools.com and see how you get on.
    {{ DiscussionBoard.errors[2178218].message }}
  • Profile picture of the author Mr. Enthusiastic
    Oleg, you have several challenges here.

    You've never learned a programming language before. HTML and CSS are declarative markup tags, rather than step by step procedural instructions for the computer to take action and make choices.

    So you have the challenge of learning all the basics of how to program; learning about data types, conditionals, variables, loops, data structures, algorithms, modularity. These are things you would have to learn about whether you started with assembler, COBOL, or ActionScript. Just as no matter what car you use to learn to drive, you have to understand the basics of how brakes work and how to use them early enough; and how to put gas in the tank.

    Beyond these basics, there are the unique opportunities and pitfalls of working with a high level, dynamic scripting language. Type safety, bounds checks and garbage collection are provided automatically. If you understand how they work you can write faster and more efficient scripts.

    To continue the driving analogy, if you know a little about how automatic transmissions work, you can understand when to manually shift into low gear.

    Some powerful features are available in ActionScript, such as object oriented design using prototypes and functional programming with closures and continuations. Switching metaphors to the kitchen, as with any big knife, your results depend on how skillfully you chop and whether you are paying attention!

    You might not intend to use all these features. As a beginner, you might copy and paste examples, tutorials or code you find elsewhere. You can make a mess if you incorporate features you don't understand.

    A nice thing about ActionScript is that the same underlying language (ECMAScript/JavaScript) is also used for scripting in the browser. What you learn will carry over. PHP uses less powerful versions of many of the same concepts for scripting in the web server.

    Beyond the language, you also need to learn the object model for the Flash runtime. Have you already used Flash enough to understand paths, fonts, color choices, animation and so on? If not, you have all that to learn as well.

    What are your purposes for learning to program Flash? One concern I have is whether it will last the next few years. It could be replaced by HTML 5 and/or Silverlight as "the next big thing" for dynamic web sites.

    Also, how deep do you want to get into programming? Do you just want to add some shine to Flash doodads, or do you want to get more sophisticated and write other types of programs eventually?

    Chris
    {{ DiscussionBoard.errors[2178588].message }}
    • Profile picture of the author Oleg Cherkasky
      Originally Posted by Mr. Enthusiastic View Post


      Beyond the language, you also need to learn the object model for the Flash runtime. Have you already used Flash enough to understand paths, fonts, color choices, animation and so on? If not, you have all that to learn as well.
      I used to own a version of flash, the first one that was created by adobe after they merged with macromedia.

      Also this is probably no longer relevant, I used to own flash 5 and fiddled with actionscript there, but I am aware that mentioning actionscript 2.0 from flash 5 at this day and age is the same as talking about windows 95.


      Originally Posted by Mr. Enthusiastic View Post

      Also, how deep do you want to get into programming? Do you just want to add some shine to Flash doodads, or do you want to get more sophisticated and write other types of programs eventually?

      I want to create sophisticated web sites... and that is about it.


      Thank you for helping btw
      {{ DiscussionBoard.errors[2179120].message }}
      • Profile picture of the author Aj Wilson
        Flash is so simple to use as a designer...
        Even BETTER than html or Photoshop.

        as a DESIGNER.

        As a CODER however, it can be as simple or complex as you want it to...
        depending on how far you wanna go down the rabbit hole.

        Go to adobe and download the free trial version of Flash CS5.

        Adding custom video players to your site
        is as simple as "drag n drop" video players onto the stage.

        Flash CS5 also has some super kool scripting functions
        that will auto add the actionscript for you (for basic things).

        I have a HELL load of sample .fla's you can use that
        I've learnt off... if you get stuck or any questions...

        just ask on my blog here >>
        and comment in the "Flash" Section of the free video tutorial section.

        I'll create tutorials when I get round to it.

        But seriously...

        Im sure you'll find flash easier that html, css or php.

        p.s.

        You may or may not notice that my wordpress header is in Flash.
        So simple and quick to create and update.

        Flash really makes life easy.
        Signature
        {{ DiscussionBoard.errors[2180652].message }}
        • Profile picture of the author Oleg Cherkasky
          Originally Posted by Aj Wilson View Post


          just ask on my blog here >>
          and comment in the "Flash" Section of the free video tutorial section.

          Looked at your blog, whats this obsession with Kratos from God Of War.

          Demos Kratos= Power to the people in greek, thats where Democracy came from.
          {{ DiscussionBoard.errors[2181581].message }}
  • Profile picture of the author mattalways
    Actionscript is fun. Just take it slow and you will get it. If you know javascript it should make it easier. If you know any, it will just be a matter of getting down the basics.
    Signature

    Quit wasting your money! If you need a website, get me to do it right! I'll probably even do it for less! Design/Development/Software, I'm your guy! matt@snidge.com
    {{ DiscussionBoard.errors[2181364].message }}
  • Profile picture of the author Aj Wilson
    There's no obsession... it's just an image representing a warrior.

    and if you cant see that this is a genuine
    offer for help and assistance then dont worry about.

    All the best in all your endeavors.
    Signature
    {{ DiscussionBoard.errors[2183530].message }}
  • Profile picture of the author Mr. Enthusiastic
    Oleg, for web development JavaScript/ActionScript is a great choice.

    You can use the same language for code in Web pages, in Flash animations, and (with the right tools) in server and desktop apps.

    If you find out you can't stand coding, at least you'll have an exposure to up to date programming concepts. Perhaps you'll ultimately decide you want to come up with cool ideas for other programmers to implement. At least you'll have a feel for what it takes to make software these days.

    If you find out that you love coding, you can use JavaScript to learn many modern techniques that apply to other languages.

    The only real challenge here is that JavaScript was designed to be powerful and versatile, but not to be an easy to learn first programming language. Its concepts were transplanted from a variety of other programming languages. They make more sense if you've had exposure to those other languages. You'll just need to find some good tutorials and have some patience with the learning curve.
    {{ DiscussionBoard.errors[2183952].message }}
  • Profile picture of the author fiberglass
    Hi! Nice thing that somebody asked this. I'm a newbie but I learned that there are a lot of scripting languages out there aside from javascript like Ruby, Python, etc. My queston is, are they interchangeable? I mean can a Ruby code replace a javascript entirely to achieve the same function?
    {{ DiscussionBoard.errors[2184661].message }}
  • Profile picture of the author JonathanKrantz
    Ruby and Python cannot exchange Javascript since they both work on the server and not on the clinet. Python can replace PHP for example, but not javascript as it is run in browsers.
    {{ DiscussionBoard.errors[2184663].message }}

Trending Topics