FlashTest Eclipse Plugin Alpha
Update: Thanks for all the feedback everyone. Let me tell you my setup that I’m using. First, I’m using Eclipse 3.4 which you can download here. Then I downloaded the Flex Builder 3.0.1 Eclipse plugin and installed it. Next I got the latest version of CFEclipse and installed it. I think I would rather use the latest version Eclipse and install things as plugins rather than use the stand-alone Flex Builder. I’m currently working on improving this to make it more consistent, but if you have the same setup as me it should work.
I have spent the last few days learning the ins and outs of Eclipse plugin development. This has been somewhat painful due to the fact that I’m still new to Eclipse and, oh yeah, I don’t know Java. But I have managed to build a simple plugin that allows you to test your FLA directly from Eclipse. This is a huge time saver as you don’t have to tab over to Flash and then test your movie. In the plugin I also automatically save the current file before testing the movie. What’s also nice is that the Flash IDE doesn’t even pop up. All you see if is the test movie window. Now this is very experimental as I’m still a total newbie at this stuff. One issue on Mac is that if you have any spaces in the path to your Eclipse installation, it won’t work. Just remove the spaces and things should be good. I’m not sure how things will work on Windows. Please let me know. I’m going to keep working on it to make it solid though.
So how am I doing this? I include a simple JSFL script with the plugin that gets executed when you hit the keyboard shortcut or press the icon in the toolbar. This script simply tests the current document. This idea of running JSFL scripts from Eclipse opens up a TON of opportunities for integration with Flash Professional.
To try out the current build, download the ZIP file, extract the contents to your Eclipse plugins folder, and then restart Eclipse. You should see a new icon in your toolbar. Click and hopefully it will jump over to Flash and test your movie. Let me know how it goes for you.
Lee



