I was recently refreshing my memory over how to set up FlashDevelop, but was unable to find any sufficient resources on the Web. So here it is: after installing FlashDevlop, open Adobe Flash. Create a new Document: File > New… > ActionScript 3.0 and on the properties tab, add a name to your class, commonly named “Main”:
Save your Adobe Flash file into an empty folder.
Launch FlashDevelop.exe and create a new project:
Project > New Project… > Under ActionScript 3, select Flash IDE Project:
Give a name to your new project and choose the same location as your Adobe Flash project.
Make sure “create directory for project” is un-ticked:
When clicking OK, a warning popup will appear. Do not worry, this is only because you have a Flash file already in this folder. Click OK.
If FlashDevelop requests it, choose an author name.
Create a New Class by right clicking through the main project folder in the right sidebar: Add > New Class…
Give the same Class name as the one you’ve previously created on Adobe Flash.
Extend the MovieClip class, and FlashDevelop will automatically add the line to import the library MovieClip library.
Run a trace like so:
At this point, your script won’t run, as you need a MovieClip, so go ahead and create one (Insert > New Symbol…).
Give your MovieClip a name and make sure to tick “Export for ActionScript”.
Click OK.
Draw something and save it.
You should now be able to run your script from FlashDevelop and/or Adobe Flash by pressing Ctrl + Enter.
comments powered by Disqus