Archive for June, 2008
Publishing Flash with Flex
Recently, I decided to migrate from my beloved Textmate to Adobe Flex Builder 3 for all of my Actionscript 3 Development. After spending time with Flex Builder for only projects utilizing the Flex framework I decided to explore using Flex Builder for Flash AS3 projects as well.
During my time using Textmate I grew attached to using the Actionscript bundle’s “Test Movie” key shortcut. It saves the need to alt+tab or gain focus of the Flash IDE just to test. After looking all over for a way to accomplish this same workflow with the Flex Builder IDE, I believe to have devised the easiest approach.
- Download and install Quicksilver.
- Create a simple JavaScript Flash File (JSFL) containing the following line:
fl.getDocumentDOM().testMovie(); - Launch Quicksilver and go to Quicksilver > Triggers.

- Select the Custom Triggers menu item from the left and add a new HotKey via the Add button on the bottom of the current window.

- Double-click the new pre-selected row directly below the Command heading and search for your newly created JSFL.

- All that is left to do is to customize the key shortcut for your new trigger and you should be good go! (provided you don’t override any precious Flex Builder shortcuts :P).
Here are some other resources on setting up your environment:
No comments