I've always used the built-in IDE, but I've been gone from Flash since ActionScript 2.0 in Flash MX... I'm coming back to Flash, and I notice there's a number of IDE's (some of which cost more than the Flash upgrade). So... question for Flash/Actionscript 3 developers -- which IDE to use, if at all?
相关问题
- garbage collection best practices
- Should I wait for Flash Player 10.1 or go with Fla
- How to load flex swf from flash?
- Where are Automatic Type Acquisition typescript de
- FlashDevelop Haxe (Flash) debugger
相关文章
- 使用Webstorm打开刚下载的jquery为什么会有报错
- 这个python项目用什么ide打开好?
- Debugging with Eclipse CDT and GDB: can't find
- Import errors with Pycharm
- Are there any benefits when using final in AS3?
- How do I navigate through a method call hierarchy
- Trace on Chrome/Browser console
- Pet slept on keyboard, weird colors in IDE [duplic
There is Flash Develop, which is free and good enough. If you are willing to pay, or if you'd be doing Flex development too, Flash Builder from Adobe (the erstwhile Flex Builder) is the best choice..
If all you care about is syntax highlighting, and you don't like the CS3 ide, Notepad++ will do it for you.
Hands down, definitely use an IDE for ActionScript. We use (and I recommend) Flash Builder 4.
ActionScript 2
In older versions of ActionScript (like Flash MX that you're familiar with), an IDE was not as important. You could get away with most coding in the Flash Development Environment. In those days, most code was bundled with the FLA files that created the SWFs. With ActionScript 3, that changed because unlike AS2, ActionScript 3 is Object-Oriented and this makes all the difference.
ActionScript 3
Now, the best practice is to have next to zero code in Flash's FLA files. All code is now external in *.as files and broken into packages. This was not so much the case in AS2. Nowadays, 99% of the flash projects I create contain zero actionscript inside the FLA files. The exception is for occasional animation controls (like stop() or gotoAndPlay()) that sometimes don't make sense outside of the timeline. Even those, I try my hardest to pull into *.as files whenever possible. Today, code in a FLA is a sign you're probably doing something wrong.
Why Use An IDE?
Here are several reasons I believe one should use an IDE for ActionScript:
That's about all I can think of off the top of my head but I'm sure there are hundreds of other reasons.
Which IDE to Use?
If you or your company has the money, Flash Builder 4. Hands down. It is the defacto IDE from Adobe and it's based on a stripped-down version of Eclipse meaning many of the thousands of useful eclipse plugins work without modification (like Subclipse) and it's cross-platform. Many examples online use Flash Builder and it's hard to go wrong developing with it. One of the less obvious essential features is it's ground-level integration with BlazeDS and Flex--two things you're certainly going to use as you get back into ActionScript.
If your job is not footing the bill, then more cost effective solutions exist. FDT is an open source solution for eclipse. It's pretty good but it lacks the robust suite of features in Flash Builder, most notably the ability to debug code that's running in the browser.
I hope all this helps in some way,
--gMale
I have always used a plain text editor to write AS code (in both AS2 and AS3.) I tend to use TextPad on windows (mainly out of habit as the shortcuts are now seemingly built into my fingers) and TextMate in Mac OS, each with relevant syntax highlighting installed. Note that personally I don't find debugging anywhere near as important as syntax highlighting & autospacing, so this pattern won't suit everyone!
I then either run an instance of Flash CS4 in the background (at work, where I have the license) or just run flex build scripts from a shortcut or terminal (when at home and without the flash license.)
A quick tip if you are coding these scripts yourself - you can build pure actionscript applications using the flex builder if you just run
$ mxmlc DocumentClass.as
and use that file's constructor as entry point, and import all your packages from subfolders from there. This pattern has pretty much replaced my need for a trial version of flash and an empty FLA in AS3 now. I mention this as it is seemingly undocumented, and all Adobe documentation implies that you need an mxml base file somewhere.
I've used Sepy for all of my ActionScript development for nearly three years now. Give it a shot. :)
Sepy ActionScript Editor
I'd suggest powerflasher's eclipse plugin FDT or jetbrains IDEA IDE
I've always used Flex/Flash Builder for Actionscripting. I hear that CS5 has better integration between Flash Builder and Flash, so if you need to work in both it has a nice workflow.