FlashDevelop: Difference between revisions
(Created page with "'''[http://www.osflash.org/flashdevelop FlashDevelop]''' is an open source ActionScript editor with code completion, syntax hilighting and a variety of other development featu...") |
Whirled vox (talk | contribs) m (Text replacement - "<" to "<") |
||
| Line 15: | Line 15: | ||
=== Introducing the Whirled SDK to FlashDevelop === | === Introducing the Whirled SDK to FlashDevelop === | ||
Choose Tools &rarr; Global Classpaths (Ctrl-F9). | Choose Tools &rarr; Global Classpaths (Ctrl-F9). | ||
Add your Whirled SDK's ActionScript directory. If you installed the Whirled SDK in | Add your Whirled SDK's ActionScript directory. If you installed the Whirled SDK in <code>c:\whirled</code>, | ||
this will be | this will be <code>c:\whirled\src\as</code>. | ||
[[Image:Flash_Develop_Project_Global_Classpath.png|Global Classpath Settings]] | [[Image:Flash_Develop_Project_Global_Classpath.png|Global Classpath Settings]] | ||
| Line 26: | Line 26: | ||
Set Language &rarr; AS3 Classpath to your Flex 3 SDK's lib directory. | Set Language &rarr; AS3 Classpath to your Flex 3 SDK's lib directory. | ||
If you installed the Flex SDK in | If you installed the Flex SDK in <code>c:\flex_sdk_3</code>, this will be <code>c:\flex_sdk_3\lib</code> | ||
Set Language &rarr; Flex SDK Location to the directory in which you installed the Flex SDK. | Set Language &rarr; Flex SDK Location to the directory in which you installed the Flex SDK. | ||
Revision as of 02:53, 4 September 2018
FlashDevelop is an open source ActionScript editor with code completion, syntax hilighting and a variety of other development features.
Prerequisites
You need the JDK, the Flex 3 SDK and the Whirled SDK. Follow these instructions for acquiring and installing these resources: Setting up your programming environment.
Downloading and Installing FlashDevelop
Download the latest version of Flash Develop from the FlashDevelop Releases page.
Run the installer and follow the instructions.
Setting Up Whirled SDK
Introducing the Whirled SDK to FlashDevelop
Choose Tools → Global Classpaths (Ctrl-F9). Add your Whirled SDK's ActionScript directory. If you installed the Whirled SDK in <code>c:\whirled</code>, this will be <code>c:\whirled\src\as</code>.
Introducing the Flex SDK to FlashDevelop
Choose Tools → Program Settings (F10).
In the "Plugins" section, choose "AS3Context".
Set Language → AS3 Classpath to your Flex 3 SDK's lib directory. If you installed the Flex SDK in <code>c:\flex_sdk_3</code>, this will be <code>c:\flex_sdk_3\lib</code>
Set Language → Flex SDK Location to the directory in which you installed the Flex SDK.
Running the Reversi Example Game
Project->New Project
Flex 3 Project
Name: Reversi
Location: c:\whirled\examples\games\reversi
Package: (leave blank)
Unchecked "Create directory for project"
OK -- Allow FlashDevelop to copy template files
Project->Properties
Output:
Output file: Reversi.swf (remove \bin)
Test Movie: Run custom command...
Edit...
Command: build.bat
Classpaths:
Remove 'src'
Add project directory (c:\whirled\examples\games\reversi)
Project->Test Movie*
Troubleshooting
- You may need to run "build.bat" once from the command line to get the Whirled SDK set up if you have not already done so.
- You also may need to grant your user id execute privileges on build.bat if you get an "Access denied" message.





