SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member klkl932's Avatar
    Join Date
    Oct 2011
    Location
    london
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AS2 and AS3 what is the difference?

    AS2 and AS3 what is the difference?


    Ask a friend to help me, thank you









    klkl932

  2. #2
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    AS3 is the successor to AS2 (obviously =p).

    AS2 (and AS1) were never really meant to be a programming language, just a light scripting language for helping do dynamic things in animation. They were really never intended for games. They are missing a lot of features and constructs that belong to a normal programming language and have slightly unusual syntax.

    AS3 is the reworking of AS2, but it's been built into a rather powerful and much more feature complete programming language, with various advanced features like classes, inheritance, strict data typing, etc.

    If you're looking for syntactical differences, there are way to many to list. The two are about as closely related as Javascript to C++.

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2011
    Posts
    85
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Javascript to C++ is a good analogy. If you're looking to do some basic animation with flash, AS2 is good enough. If you're making a game or an application, then AS3.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •