ActionScript 2 or 3?

I want to refresh my ActionScripting and learn more, but find it me hard to know what to focus on. As a graphic designer, I don't feel that it is really necessary for me to learn the more complicated AS3. But if AS3 will eventually replace AS2, I certainly will jump right to AS3...

We should I focus on?

[edit] Sorry for the double posting... adobe.com seem to have problems.

turbotape,

> I want to refresh my ActionScripting and learn even more.
> but find it me hard to know what to focus on.

In my experience - that does not match your own, granted-, the ideal is
to feel as comfortable as possible to the largest number of versions of ActionScript as
possible. Know AS3 for novelties and know AS2 (and same AS1, sometimes)
for the old stuff, or for projects targeted to mobile content.

> As a graphic designer, I don't think it is really necessary for me
> learn more complicated AS3. But if eventually going to AS3
> to replace AS2, I certainly will jump right to AS3...

AS3 will be finally via AS2, just like AS2 finally resumed
AS1 (and as AS1 eventually resumed Flash ActionScript 4-era, who)
could easily, with a slight smile, be called AS0). So, there's the front
March of progress, Yes. But it is important to realize that it engenders AS3
encessarily corresponds to the most complicated. True, advanced projects are the best
suitable for AS3 and AS3 is that Flex programmers use. But AS3 is also
suitable for good, old fashioned picture key to coding than any other version of
ActionScript.

Read this article by Colin Moock, which is very encouraging for me
the first time I read it:

http://www.InsideRIA.com/2008/01/ActionScript-30-is-it-hard-or.html

> We should I focus on?

If you are not familiar with the coding at all, you'll probably find AS3
much easier to learn from scratch. I suggested a few arguments in this direction
in this article here (an excerpt from a book on the migration of AS2 AS3):

http://www.communitymx.com/abstract.cfm?cid=16D76

If you have had a bit of intro to AS2, you can always focus on
AS3 simply because it is newer, but ultimately, your decision should be
decided by the version of Flash Player, you are targeting. If you are with a
Agency that requires all content to be available for Flash Player 6, 7 or 8,
then your only choice AS1 or AS2 (in this case, the purpose for AS2). If most
of your job ends upwards with the help of Flash Player 9 or later, then I recommend AS3 as
your first step.

David Stiller
Co-author Foundation Flash CS4 for designers
http://tinyurl.com/5j55cv
"Luck is the residue of good design."

Tags: Adobe Animate

Similar Questions

  • Adobe Flash Player starts suddenly many ActionScript errors on some pages.

    Suddenly, Firefox is having a hard time on the pages of ActionScript, including the Adobe ActionScript reference site. It is a very common:

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at ZeroClipboard()

    These errors always at least slow down the program to a crawl, and usually just Firefox freezes completely. I use Flash 11.4.402.278 on Windows 7 x 64.

    If that doesn't work in Firefox Safe mode then disable all extensions (Tools > Modules > Extensions) and then try to find out who is causing by allowing an extension at a time until the problem reappears.

    Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')

  • Search in subfolders with actionscript

    I want to target files and do specific things for them according to what they call their parent folders. To be more precise, if there are files in the subfolder 'Bad' I want to perform a specific action of photoshop on these files and if there are files in the 'Good' subfolder, perform some other action on them.

    I have a folder structure that looks like this:

    Images (root folder)

    -Holiday

    -Good

    -else.jpeg

    -something.jpeg

    -Bad

    -else.jpeg

    -something.jpeg

    -Party

    -Good

    -else.jpeg

    -something.jpeg

    -Bad

    -else.jpeg

    -something.jpeg

    -No matter what

    -Good

    -else.jpeg

    -something.jpeg

    -Bad

    -else.jpeg

    -something.jpeg

    etc.

    Do you mean "ActionScript"? or "AppleScript"?

    It's pretty trivial to do in AppleScript, if that's what you mean. There are several ways to do that, but here are two options:

    the value topFolder to (choose folder)

    say application 'Finder '.

    set image files to each file of all content of topFolder whose name is "jpg" extension

    Repeat with eachFile in image files

    the value subfolderName to the name of container of eachFile

    If subfolderName is 'Good' then

    -do good things

    else If subfolderName is 'Bad' then

    -do bad things

    end if

    end Repeat

    end say


    Note that using the "entire content" a folder can be notoriously slow, especially for large hierarchies. If this is the case for you in alternate iterates through the folders and files directly:


    the value topFolder to (choose folder)

    say application 'Finder '.

    Repeat with eachFolder in (each folder of topFolder)

    -now eachFolder goes through your 'holiday', 'Party', 'Whatever' list

    -Browse the files 'good '.

    Try

    Repeat with eachFile in folder 'Good' of eachFolder

    -do good things

    end Repeat

    end try

    -now to browse the files of 'bad '.

    Try

    Repeat with eachFile in folder 'Bad' of eachFolder

    -do bad things

    end Repeat

    end try

    end Repeat

    end say

  • How actionscript / flash apps get compiled for the PlayBook?

    Hello

    When you create a bar file, what exactly? Is my actionscript into native arm assembly using a LLVM as described by Adobe for their implementation of iOS?

    I ask because when I tell people I'm an application using actionscript, they say "Flash?" Why would you use Flash? Adobe gave up on this subject.  I would be like power better understand how actionscript/flex/flash is implemented for applications on the PlayBook, so that better explain to others.

    Thanks for the clarification.

    Your AS3 code compiles into a SWF file that is running on the virtual machine in the AIR runtime.

    From: http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

    "Adobe continues to invest actively in allowing developers to create and deploy Flash based content such as mobile (or office) applications through Adobe AIR."

  • How to implement an ActionBar in Pure ActionScript?

    I want to implement an ActionBar with ActionScript on my request, but all the examples I found on the use of the internet in MXML. Is it possible to do?

    https://developer.BlackBerry.com/Air/beta/APIs/QNX/fuse/UI/ActionBar/ActionBar.html

  • How to create table of controls (Images, buttons) in ActionScript

    Hello!

    Could someone help with ActionScript and Playbook SDK?

    How can I create a two-dimensional array of controls (buttons, images, text fields) in ActionScript?

    And how do I use radio buttons in ActionScript?

    Hey,.

    keys and parts do not have ID like in html and javascript. That being said, its impossible to do it like that. the best approach is to create your own class that extends the LabelButton (or whatever component you need) and have an id property that is implemented. so, you can set a code personal to her. I've implemented what you asked below. You can apply this to other components as well enough to make changes to the class and modify the extension. Here is the code:

    LabelButtonTest.as (main application class):

    package
    {
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.MouseEvent;
    
        [SWF(width="1024", height="600", backgroundColor="#CCCCCC", frameRate="30")]
        public class LabelButtonTest extends Sprite
        {
            private var myButtons:Array;
    
            public function LabelButtonTest()
            {
                super();
    
                // support autoOrients
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                /*
                 *  Initialize your array of 2 X N (in our case we will be using 10)
                */
    
                myButtons = new Array(new Array(), new Array());
    
                /*
                 * Now we set up our array, first doing the first row and
                 * set up 10 buttons with their own ID using the constructor
                 * for our custom class CustomLabelButton(ID)
                */
    
                for (var i:int = 0; i < 10; i++)
                {
                    var myBtn:CustomLabelButton = new CustomLabelButton(i);
    
                    myBtn.label = "Button " + i;
                    myBtn.setSize(100, 50);
    
                    myBtn.addEventListener(MouseEvent.CLICK, onClickEvent);
    
                    myButtons[0].push(myBtn);
    
                }
    
                /*
                 * We do the same for the second row of buttons, starting
                 * with 10
                */
    
                for (var i:int = 10; i < 20; i++)
                {
                    var myBtn:CustomLabelButton = new CustomLabelButton(i);
    
                    myBtn.label = "Button " + i;
                    myBtn.setSize(100, 50);
    
                    myBtn.addEventListener(MouseEvent.CLICK, onClickEvent);
    
                    myButtons[1].push(myBtn);
                } 
    
                /*
                 * Finally we cycle through our arrays and add them to our display
                 * this wil produce two rows of 10 buttons going accross
                 * each when clicked will call the funciton onClickEvent and
                 * trace out their ID to the debugger
                */
    
                for (var i:int = 0; i < 10; i++)
                {
                    var myBtn:CustomLabelButton = myButtons[0][i];
                    var xPos:int = (i * 100) + 10;
                    var yPos:int = 10;
    
                    myBtn.setPosition(xPos,yPos);
    
                    addChild(myBtn);
                }
    
                for (var i:int = 0; i < 10; i++)
                {
                    var myBtn:CustomLabelButton = myButtons[1][i];
                    var xPos:int = (i * 100) + 10;
                    var yPos:int = 60;
    
                    myBtn.setPosition(xPos,yPos);
    
                    addChild(myBtn);
                }
    
            }
            public function onClickEvent(e:MouseEvent):void
            {
                /*
                 * Print out ID of the button thats clicked
                */
                trace("the button ID is: " + e.target.id);
            }
        }
    }
    

    CustomLabelButton.as (our custom label with the ID property button class):

    package
    {
        import qnx.ui.buttons.LabelButton;
    
        public class CustomLabelButton extends LabelButton
        {
            private var _id:int;
    
            public function CustomLabelButton(num:int = 0)
            {
                super();
    
                id = num;
    
            }
            public function set id(num:int):void
            {
                _id = num;
            }
            public function get id():int
            {
                return _id;
            }
        }
    }
    

    run the code and see how it works. I hope that's what you're looking for. Good luck!

  • How to: Open a page with ActionScript

    Hey guys,.

    I'm developing my first Flash application for the playbook using Flash CS5 and ActionScript 3.

    I want to open a Web page in the playbook when a button is clicked.

    How it works for the playbook?

    I'll give thumbs up for answers that helped me!

    Thank you

    import flash.net.URLRequest;

    import flash.net.navigateToURL;

    ...

    navigateToURL (new URLRequest ("http://www.google.com' "));

  • AIR ActionScript Extensions

    Hello

    I'm interested in the interaction between an application AIR and C of native applications. The information I've found so far are well described in this book. What the book is missing from my point of view is an example of how to code part C. He talks about some available demo files when developing for television, but these are available only when seen - apparently - a kind of additional license.

    When you install the BlackBerry SDK, I found the file FlashRuntimeExtensions.h (lib) file, which is exactly necessary to develop extensions to the ActionScript. So, no matter who ever done something like this before? Someone at - it demo source files? BlackBerry provides more information on this?

    Thanks in advance

    This has yet to be released to the developer community. Maybe a little later this summer.

  • Read the file from the system of files in Flash with Actionscript

    Hello world. I am in the design phase and want to make sure that what I intend to do is possible. I use Flash CS5 and you want to review the system of the PB, or a folder of music files. Is this possible? If so what part of the Actionscript API should I watch?

    Locate the flash.filesystem stuff, and note that your application must have a blackberry file - tablet.xml so that specifies the permission of "access_shared". The forum for this search should appear many in past messages with details.

  • How to rotate the hands on the clock?  ActionScript 3

    First of all, I use Flash CS6 with Actionscript 3 installed locally on your Windows 7 Desktop

    I'm working on a small project that use a clock and I need to be able to turn the clock hand around the clock face. I started with a basic drag & drop structure and what I want to do is anchor / difficulty the needle in the center of the dial and power drag / drop radial hand around the clock face.

    Can someone point me in the right direction on how to approach the issue?

    You can do a few trigonometry to figure out how to point a needle to the pointer of the mouse, but I recommend just setting 12 cuneiform invisible movieclips and use of mouseover events on them when the user points.

  • How can I convert my 100 games flash (actionscript 2.0) in HTML5 now that swiffy is dead?

    Unfortunately I didn't swiffy would be killed until August.  I have a lot of games I built using flash with actionscript 2.0, and I do not know now how to export to HTML5 without swiffy.  Someone at - he found a solution?  Adobe has a solution for us?  Singular video showing how convert a very basic adobe HTML5 flash ad is no help to those who have made the beautiful games and complex using flash with actionscript 2.0.

    I'm excited about learning all these new languages like actionscript 3.0 which is not at all compatible with actionscript 2.0, but I have to convert my current games in HTML5 first before you spend another few years learning a new language.

    I didn't adobe address this problem that many people, but I found an application called flaexporter that only works on flash cc.  I don't have flash cc, and it seems not available for download as a "past/old version" of my adobe creative app download.  Is there a way to download this older cc flash application, so I can export all my games to HTML5?  I don't want to lose years of game development just because swiffy disappeared.

    I have the cs adobe complete with all applications to update software including cc lively.  Unfortunately, animate cc seems unnecessary, because when I try to open one of the games I put years of work into, he destroys this game completely.  When I publish the game, it does not at all.

    I create games for education and had used swiffy and flash because they were easy for a designer like me to use.  I'm not a high level programmer, but I've always been able to create and edit flash.

    1 animate cc told me that only a3.0 files can be imported and still work.  So, how to export actionscript 2.0 to actionscript 3.0 using the flash c6s that always works on my laptop?  I don't see the option export for actionscript 3.0 in flash c6s, and I do not see the option "successfully" import ActionScript 2.0 cc animate.  Is there something I'm missing here?   Someone at - he found a solution to this problem?

    2. instead of trying to figure out how to export a2.0 a3.0, just so that I can open it to animate cc, then export to HTML5, is there an easier way - similar to swiffy, who has ignored all these steps your time?

    If anyone has an answer, thank you!

    Please do not cross-post.

    See How can I convert my 100 games flash (actionscript 2.0) in HTML5 now that swiffy is dead?

  • ActionScript &gt; Html 5

    Hello everyone.

    At the time, I was using a piece of code in actionscript to suspend my clip on a keyframe:

    Stop();

    var ID = setInterval (function () {}

    Play();

    clearInterval (ID);

    (}, 3000);

    I wanted to know if anyone of you knows how to convert in HTML5 (as a lively CC) or if you had a different technique to work.

    Thanks in advance

    This.Stop ();

    var clip = this

    var ID = setInterval (function () {}

    clip. Play();

    clearInterval (ID);

    (}, 3000);

  • Air/actionscript 3 games can work with mongoDB?

    I was interested in developing an online game, but wanted the database that powers the game app to MongoDB or couchDB, can I integrate this into an environment of Air/actionscript 3?

    Kind regards

    Of course, you can find something

    Quick example I've seen GitHub - s9tpepper/MongoAS3: AS3 driver for mongoDB.

  • How to create a form with a submit in CC button animate using Actionscript 3

    How to create a form with a submit in CC button animate using Actionscript 3. The file will first be a SWF but will also have the flexibility to export as HTML5

    I've searched high and low for an example of code for this entry.

    Can someone help me please?

    Thank you

    You can use the same graphic assets of basis for two projects, but the coding will be different for everyone.  You must work on the project of a code at a time.

  • Prevent the update of the Actionscript

    Hello

    I have a very old. FLA file that I need to change. It was created using Actionscript 1, and when I open it in Adobe animate, requires the update script 3. This causes my. Slideshow of FLA to break. Any help to avoid this problem is welcome.

    Thank you in advance.

    In the Cloud creative menu, go to the applications tab. And then under additional Apps find select view previous Versions. Now you should see Flash Pro listed and CS6 will be one of the versions that you can download.

    Animate took CC Pro Flash, and there is usually no reason to have both of those installed. CS6 can do some things that were excluded from the CC version, so it is useful to keep around.

  • Canvas, Webgl or ActionScript 3.0

    Hi all

    A question may be a bit silly... but I started (animate CC 2015).

    In which cases do you use Canvas, Webgl or even ActionScript 3.0?

    Thank you for your help

    Nice day

    If you want to do something that can play in a browser on mobile devices, you must use HTML5 Canvas and WebGL. If you are mobile applications, or if you do something to play in desktop browsers, you would use AS3.

    There are other cases where you would use AS3. For example, if you create animations you want to export to video, you'd in a document of AS3.

Maybe you are looking for

  • Difficulty of updating Firefox

    Apparently, I use an older version of Firefox. I've been going round in circles trying to do a manual upgrade. I'm SO frustrated! I can't find the page to make the first move! 1. at the top of the Firefox window click the Firefox button, hover over t

  • Can't erase my hard drive recovery utility

    Hello everyone, Huge disappointment a few hours ago. My system would not start. Rebooted from OS X Recovery and scanned with utility disk to find out there was a mistake not repairable in the hard disk which told me that I should restore with time ma

  • iPod Classic 80 GB load computer

    Hello I have an iPod Classic in 2007 and until now, it was perfect. But the last few days I saw that my iPod load of the computer. All of my adapters and cables are original from Apple and I tried all combinations between my son and adapters, but I c

  • iPad 2 is stuck on update checking

    My 2A ipade was slain on "update check" for 2 days.  I can't disable or stop the updates.  Any suggestions

  • Microsoft Word is not responding

    My Word Documents does not open. I have Windows 2000, and the document window appears empty & then shows the address bar (not responding). We tried to uninstall & reinstall with the same question, we tried to reconstruct in 2007, have a program of da