Creating Flash Extensions — Pt. 4: User Interaction

Justin | Animate/Flash,jsfl,Tutorials | Thursday, March 3rd, 2011

The ability to include user interaction into a JSFL script can provide a significant level of flexibility and feedback. Flexibility and feedback are especially useful when you plan to distribute your extension to others. Flexibility allows the script to run differently depending on current conditions. Is there a document open? Are items selected in the Library? Etc. If so, you can ask the user how to proceed. Feedback lets the user know that the script has run properly (or not), so that he/she can proceed with confidence. This tutorial will cover the primary types of user interaction available in JSFL.


Creating Flash Extensions — Pt. 3: Manipulating the Library

Justin | Animate/Flash,jsfl,Tutorials | Wednesday, February 23rd, 2011

Part of being a solid Flash user and a good collaborator is maintaining clean, navigable files. This means naming layers and library items clearly, deleting unused material, keeping folders organized, etc. Because these actions must be applied to all files and are quite repetitive, they’re good candidates for automation. You can use JSFL to script all of these actions into a single keystroke or mouse click. This tutorial will focus on creating a Command (saving a Command is explained in the first tutorial) that will clean up the items in the Library.


Creating Flash Extensions — Pt. 2: The DOM

Justin | Animate/Flash,jsfl,Tutorials | Monday, February 14th, 2011

This tutorial will focus on a couple of basics for using JSFL (defined in the previous tutorial) to alter a Flash document. Everything that can be manipulated in JSFL is considered an object. The Document Object Model (DOM) is basically the hierarchy or structure (model) of objects within a particular document. If you’ve written JavaScript for a web browser, you’re probably somewhat familiar with accessing the DOM of an HTML document.


Creating Flash Extensions — Part 1: Introduction

Justin | Animate/Flash,jsfl,Tutorials | Tuesday, February 8th, 2011

The ability to create extensions is one of my favorite features in Flash Pro. You can extend Flash to include new features and automation in the form of Commands, Panels, and Tools. This series of tutorials will show you how to create your own extensions for Flash. There is a special scripting language that allows you to control Flash, and it is known as JSFL.

MotionBrush: Free Actionscript Class

Justin | ActionScript,Tutorials | Saturday, May 2nd, 2009

One idea that I had when creating the MotionSketch extension was that it could be used to do write-on effects. I was going to write an Actionscript class to demo this effect prior to releasing MotionSketch but ran out of time. So I tweaked a version of vCam to quickly demo the effect for the MotionSketch video tutorial. Thanks to a reader’s email, I was reminded that I still had yet to write this class. It’s now written and free to download. I’m calling it MotionBrush to keep it in the family with MotionSketch and MotionBlur. It’s super simple to use. Check out the video tutorial: