FlashDevelop: Difference between revisions
Whirled vox (talk | contribs) m (Text replacement - "<" to "<") |
Whirled vox (talk | contribs) m (Text replacement - """ to """) |
||
| (One intermediate revision by the same user not shown) | |||
| 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 <code | Add your Whirled SDK's ActionScript directory. If you installed the Whirled SDK in <code>c:\whirled</code>, | ||
this will be <code | 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 23: | Line 23: | ||
Choose Tools &rarr; Program Settings (F10). | Choose Tools &rarr; Program Settings (F10). | ||
In the | In the "Plugins" section, choose "AS3Context". | ||
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 <code | 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. | ||
| Line 34: | Line 34: | ||
== Running the Reversi Example Game == | == Running the Reversi Example Game == | ||
Project- | Project->New Project | ||
Flex 3 Project | Flex 3 Project | ||
Name: Reversi | Name: Reversi | ||
Location: c:\whirled\examples\games\reversi | Location: c:\whirled\examples\games\reversi | ||
Package: (leave blank) | Package: (leave blank) | ||
Unchecked | Unchecked "Create directory for project" | ||
OK -- Allow FlashDevelop to copy template files | OK -- Allow FlashDevelop to copy template files | ||
[[Image:Flash_Develop_New_Project.png|New Project]] | [[Image:Flash_Develop_New_Project.png|New Project]] | ||
Project- | Project->Properties | ||
Output: | Output: | ||
Output file: Reversi.swf (remove \bin) | Output file: Reversi.swf (remove \bin) | ||
| Line 60: | Line 60: | ||
[[Image:Flash_Develop_Project_Classpath.png|Project Classpath]] | [[Image:Flash_Develop_Project_Classpath.png|Project Classpath]] | ||
Project- | Project->Test Movie* | ||
== Troubleshooting == | == Troubleshooting == | ||
* You may need to run | * 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 | * You also may need to grant your user id execute privileges on build.bat if you get an "Access denied" message. | ||
[[Category:Terminology]] | [[Category:Terminology]] | ||
Latest revision as of 01:20, 5 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 c:\whirled,
this will be c:\whirled\src\as.
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 c:\flex_sdk_3, this will be c:\flex_sdk_3\lib
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.





