IntelliJ and Flash CS4

In this tutorial I will be going over how to get IntelliJ working with the Flash IDE. We will look at configuring a Actionscript only project in IntelliJ and then running a Bash Script to call the Flash IDE. We will be using a shell script I have ported over from my TextMate Bundle you can download that below. For those just getting started with IntelliJ I recommend read Jesse Freeman’s IntelliJ Workflow Tutorial before you start into this.

For Windows Users the process is very similar except you cannot use the Bash Support Plugin you need to use the Batch Plugin. Sadly at the time of writing this the Batch Plugin in the “available plugins” section of intelliJ does not work so you need to download the Lastest  Batch Plugin from Google Code. Once you download this simply place the jar file it in your “C:\Users\{username}\.IntelliJIdea90\config\plugins” folder and restart IntelliJ. You will want to confirm it installed correctly by going to your IntelliJ Settings Panel and looking under IDE Settings -> Plugins to confirm that under the Installed  tab y0u see Batch Scripts Support with a check mark to the left.  Now when you edit your configuration instead of choosing Bash choose Batch and point it at the .bat file you download from this site. A quick warning the Batch Plugin does not seem to support folders with spaces in them, so you will need to be aware of that when you place your .BAT file, do not nest it inside any folders with spaces.

Hopefully this will help some more people feel comfortable moving over into the IntelliJ environment. Trust me you won’t regret it, especially if you are a Mac users looking for a good Actionscript coding environment. Thanks for stopping by! check back for more tutorials soon!

Download the: “Publish in Flash IDE” Shell Script For Mac

Download the: “Publish in Flash IDE” Shell Script For Windows

Discuss - 8 Comments

  1. Franz says:

    Hey, thanks for the tutorial and script! Unfortunately the bash plugin gives me a fatal startup error :-(

  2. Ross says:

    Hey,

    I have seen this also, it seems to be fixed in Snow Leopard and break in anything earlier. What are you running?

    thanks
    -ross

  3. Marat says:

    Thanks a lot for this video from Russia)!

  4. nadav says:

    awesome tutorial. thanks so much

  5. [...] компиляции на основе скачанного батника (подробнее здесь), но этот метод внезапно перестал работать (вроде бы, [...]

  6. bzor says:

    works great, was having issues with the flash debugger and intelli j so was perfect..

    how would you recommend using flash assets though? you can’t include the swc as a dependency like you would normally in intelli j because its not building the project right? I was thinking maybe just adding my assets and classes to that main fla but then they’ll display as unrecognized type by intelli j which could get confusing.. any thoughts?

  7. Peder Jakobsen says:

    Hey, what a cool trick, you got “mad” skills. I’m running IDEA 10 on Snow Leopard. I’m finding that Actionscript compilation is painfully slow compared to an Actionscript project in Flex Builder. Any idea why? (I do have “Build Automatically”) turned off.

    I think it’s because the .actionsScriptProperties file in a Flex project tells the compiler not to bother with a bunch of stuff it doesn’t need for straight up Actionscript, where as IDEA always includes everything needed for Flex. Not sure if this makes sense, my understanding of the flash compilers is not strong.

    Speaking of which, have you tried the Hellfire compiler? http://bytecode-workshop.com

  8. duneunit says:

    I really appreciate this tutorial. I’ve been developing in Flash for a long time and wanted to jump up to a superior IDE / editor. I like what I’m seeing with IntelliJ IDEA and almost have this working on Win 7… if I open the .bat file, it works… but if I try to do that from within IntelliJ (11) then in gives a weird error:

    AbstractMethodError: Error during dispatching of java.awt.event.MouseEvent…:

    com.intellij.execution.configurations.CommandLineState.startProcess()Lcom/intellij/execution/process/ProcessHandler;

    If you have a free moment (no assumptions that you do), perhaps you might be able to give me an idea what I’m doing wrong? Or where to look to solve this? I know JSFL inside out, so if I just understood a bit more about how info is passed back and forth between IntelliJ and Flash CS4′s output / reporting… I might be able to tighten this up a bit for windows. (I might need to learn more about Batch file stuff, too)

    Thanks for any input! And for the great info you posted!

Add a Comment

Your email address will not be published. Note marked required (*) fields.

*

Categories

flickr fotos

The "Machine"Stu WiringStu Drying a KeyholeArica up CloseBrittany and StuArica in the Mistshadow RossDirectionThe Key RoomSecurity CameraArica breaks outArica CrawlRed in MistPractice RoomRyan RiggingTallo and Gear