Test Movie From Anywhere

I’ve been using SciteFlash for a while, and recently started using SE|PY with it’s AS2.0 support. The main thing I love about these editors is code folding. I really miss that in the Actions Panel/Script Editor in MX 2004. One big problem is that the flush tool which automatically allows you to test your movie in Flash from within these editors. Apparently it doesn’t work with MX 2004. Here is a very easy workaround that will duplicate this function for 2004. It allows you to use any editor, even notepad if you’re into it, and test the movie with a hotkey.

  1. Create a JSFL file with one line: fl.getDocumentDOM().testMovie();
  2. Save it wherever you want, with whatever name you want.
  3. Now, drag that file onto your start menu, or otherwise get a shortcut to that file on your start menu. (Yes, we’re talking Windows only here. Probably a similar way to do it in Mac, but not my area of expertise.)
  4. Right-click, choose properties and set up a shortcut key – something that won’t likely be used by whatever program you are using. I use Control-Alt-Up.

Now, whenever you hit that hotkey, no matter where you are, Flash will test the current movie. Pretty neat! Note, you could just as easily create Publish Movie, Save Movie, or other shortcuts in the same way.

This entry was posted in Flash. Bookmark the permalink.

5 Responses to Test Movie From Anywhere

  1. Brude says:

    Great tip!

    I was wondering if there is a way to check syntax in SE|PY? I looked up the documentation on JSFL but couldn’t find anything that’ll allow external use of the Flash syntax checker. Do you know any work arounds?

    Thanks!
    -brude

  2. bit-101 says:

    no, no access to that kind of stuff in jsfl.

  3. Jonas says:

    Very nice!!

  4. Elor says:

    nice one!

  5. DiKey says:

    It’s cool and simpl? way to make some trick with Flash!!

Comments are closed.