FlashDevelop
Table of Contents
Setting up
Create a new FlashDevelop project (AS3)
Set an SDK.
- Personally, I downloaded the Flex SDK, extracted it, then pointed the SDK path to it (
project pane > project settings > sdk tab > manage) - Getting a BadImageFormatException. Modify the java home path at
C:\Users\Eddie\Adobe Flex SDK\bin\jvm.configon L27 to point to a 32 bit version, according to this
- Personally, I downloaded the Flex SDK, extracted it, then pointed the SDK path to it (
If you can't get any
tracemessages to appear, go toproject settings > FlashViewer > External Player Pathand set it toC:\Users\Eddie\Adobe Flex SDK\runtimes\player\11.1\win\FlashPlayerDebugger.exeIf that doesn't work (if it keeps opening up in Chrome), then go to Chrome, type in chrome:plugins, then expand the flash part, and disable Shockwave Flash for the for the one in Chrome.
SWC (shockwave component) files
- SWC holds media assets. Use them to link into Flash and Flex projects:
- In Flash Professional, output the
.swcfile intolib\myswc.swc - In FlashDevelop,
- In Flash Professional, output the
Compiling
Debugging
In the logs window, Click on the play button to enable tracking
Ctrl+Entercompiles- A document class must be set as the entry point - by default, this is
Main.as. Otherwise in the project panel, right click on a file in the src directory and set it to the document class (icon changes to a file with a green arrow).
Classpaths
To add a classpath to the project, right click on the project, go to the classpaths tab and then add it from there.
Customising
The UI scheme can be set by going into Tools > UI Themes
Colourschemes
Code generation
- See list of them by going to
Tools > keyboard shortcuts. - Set the code generation to
Ctrl+Shift+5 - Set the code reformatter to
Ctrl+Shift+6
Useful shortcuts
Ctrl+qtoggles line commentCtrl+Shift+qtoggles block commentCtrl+2opens up a new AS3 documentCtrl+Shift+ccopies the current line- wow! Press
F4to jump to a function defintion. PressShift+F4to jump back Ctrl+F2to set a bookmark,F2to go to next bookmark,Shift+F2to go to previous bookmark