I just thought i would share my way of setting up FlashDevelop in Parallels Desktop on OS X to work (almost) like on windows. Most of this information is already scattered across the forum, but I could not find a complete "setup guide" to help me out. Anyway, here goes Update Nov 29 2008
: This guide is now tested and verified to be working with Parallels 4 and CS4 as well as P3+CS3
Also tested in Parallels 4 safe mode.To all of you that has trouble getting FlashDevelop to show up as a shared application:
There are 2 ways of getting this to work:The Beta 5 method
Hacking an existing application
- Uninstall any FlashDevelop you have installed
- Download and install FD3 beta 5 (yes, that's beta #5)
- Run FD beta 5
- In Parallels menu: Applications -> Shared Windows Applications -> Populate
- Quit and uninstall beta 5
- Install latest release
Please check out Stevens post on how to hack an existing application into an FD application:http://www.flashdevelop.org/community/viewtopic.php?f=9&t=35810. Prerequisites
1. Avast! Antivirus (and possibly other AV's?)
- Flash CS 3 or 4 on OS X (this guide may work on older versions as well, but I can't verify that)
- Parallels Desktop 3 or 4 running Windows XP (preferably with the latest updates installed)
- FlashDevelop 3 beta (I use beta 9)
This step is optional. If your AV does not create trouble for you: great! Otherwise...
It seems Avast! Antivirus likes my processor so much it wants to be with it all the time, 100%. That along with their On-Access protection seems to make FlashDevelop unresponsive at times. Turning off Avast! solves the problem immediately. I disabled Avast! and set the network to private mode.
In Parallels you don't actualle need the network to work with .as files on your mac. In the Parallels menu select: Devices -> Network Adapter 1 -> Disconnect
. You could also select "Host-only networking
", which will create a private network with your mac only, and not the Internet. This means that the Virtual Machine cannot connect to the Internet and should be safe enough from Viruses etc.2. Parallels Tools
If you have not already installed Parallels Tools, do it now. It's located in the Parallels menu: Actions -> Install Parallels Tools
. After installing the tools you should have an icon on your windows desktop called "Parallels Shared Folders
" that points to "\\.psf". If not, run the installer again and pay attention 3. Map a network drive to your work directory
On my mac I have a folder called "work" in my home-directory where i keep all my work. To make it easy to access, I'll create a mapped network drive that points to that folder. Open up the windows explorer in Windows XP (My computer) and select Tools -> Map Network Drive
in the menu.
Select any drive letter you like and then click Browse
. In the new window that opens up, expand: Entire network -> Parallels shared folders -> \\.psf -> .Home
. You are now browsing your "home"-folder on your mac. Now browse to the folder where you keep your work and make sure it's selected (so that the text on the folder is white with a blue background) and click OK
Make sure "Reconnect at logon
" is checked and click Finish
In FlashDevelop, press CTRL+F9 to enter Global Classpaths. In the dropdown select the actionscript version for which to add classpaths, and then click Add classpath
. Expand My computer
and you should see your brand new mapped network drive. Now just browse to where you keep your classes and click OK
. You can add as many classpaths as you like from this point.5. Export flash from FlashDevelop
This is a real timesaver. This enables you to hit F6 inside FlashDevelop to command Flash on OS X to preview your flash without having to switch to Flash and pressing CMD+ENTER.
If you installed Parallels Toos correctly you should have a folder called "Parallels Shared Applications" in your start menu under "All programs". Here you should find most of your OS X applications. Locate "Adobe Flash CS3 (Mac)
" and right-click it. Select "Properties
" in the context menu.
The target should point to something like:
"C:\Documents and Settings\Administrator\Application Data\Parallels\Shared Applications\Adobe Flash CS3 (Mac).exe"
Copy this path and return to FlashDevelop. Press F10 to open program settings. Under plugins, locate and click ASCompletion
. On the right you should be able to find an entry thats called Flash IDE
and under that Path to Flash IDE
. Place the cursor in the textfield next to it and paste the previously copied path.
and you're done
Now you can press F6 to preview your flash movie from FlashDevelop.If this does not work
This may solve the problem with foreing characters interfering with FlashDevelop when pressing F6 to export. I can't verify that it actually works, but it's worth a shot.
Copy C:\Documents and Settings\Administrator\Application Data\Parallels\Shared Applications\Adobe Flash CS3 (Mac).exe
(path may be different depending on your locale) and paste it directly in C:\
. Rename it to flash.exe
. You should now have a file that is called "flash.exe" directly in "C:".
Enter FlashDevelop and press F10 to open program settings. Under plugins, locate and click ASCompletion
. Enter C:\flash.exe
in the field next to the entry Path to Flash IDE
on the right.6. Adding FlashDevelop to the Dock.
Assuming you did either the Beta 5-method or Stevens hack to get FD as a shared application:
Open the folder where you keep your Parallels Virtual Machine Shared Applications (in my case: Documents/Parallels/Microsoft Windows XP/Windows Applications
). You should have an app called "FlashDevelop.exe.app
" in that folder. Drag and drop it onto the dock.
If you did the Beta 5-method (I'm not sure if this applies to Stevens hack) the functionality of the app is somewhat limited at this time; it only starts the app, but then holds no connection to it. That means that you can't see if FD running, and neither CMD+TAB to bring it to front, nor close it from the dock icon. Hopefully this will change in the future.
If you need a nice dock icon, you can get the one I use here:http://www.rickardsjoquist.com/flashdevelop_dockicon.png
Double-click the png when you have downloaded it so that it opens up in Preview. Hit CMD+C to copy the image.
To change the icon on the dock, right-click the FlashDevelop icon in the dock and select "Show in finder
" from the context menu. This shows the file in finder. Now right-click the FlashDevelop.exe.app
in finder and select Get info
from the context menu.
At the very top left of the window that opens up there is a small FD-Icon. Left-click it once to mark it (a small blue border appears around it) and hit CMD+V to paste the image in the clipboard. If you did it right the icon should be changed.7. Making FlashDevelop the default editor for your actionscript files
This is the easiest part. In finder, locate an .as file. Right-click it and select Get info
from the context menu. About halfway down the window that opens there is a small dropdown named Open with:
. Select FlashDevelop
from the dropdown. Now click the Change all
button directly under the dropdown and all your .as files should open in FlashDevelop when you double-click them.
That's it. You should now have a fully-working OS X-Flash + Parallels-Windows-FD work environment