New Flash Extension: LIBRARY – Replace Selected by Import

Justin | Flash, extensions | Tuesday, September 15th, 2009

This extension adds a command that will take a selected symbol and overwrite it with an imported file, thus replacing all instances of the symbol. It’s very similar to updating a symbol, except that this allows you to update the symbol with a file that has a different name.

For example, the library might contain a GIF file or a JPG, but the quality is not satisfactory and you want to replace it with a PNG. Normally, you’d have to replace the file with a file that has the same name, but if you select the image that you want replaced in the library and run this command, it will allow you to select any image file and replace the selected library item. Same scenario applies to audio files.

Download
(Compatibility: Flash MX 2004 and up)
LIBRARY – Replace Selected by Import.mxp

New Flash Extension: Swap Instance for Duplicate Symbol

Justin | Flash, extensions | Tuesday, September 15th, 2009

This extension adds a command that will take a selected symbol instance, create a new duplicate in the library, and swap the selected symbol for the newly created duplicate.

I use this command when I want to make a symbol that’s very similar to one that I’ve already got on stage. So if I have a button on stage with text inside it and I want another one exactly like it but with different text, I drag a copy using the opt key (alt on Windows), then I run this command. The command prompts me for a new name, I type it, hit OK, and now I’ve got a duplicated symbol that I can go in and edit without affecting the original.

I’ve also added a feature to replace the name if it contains the name of the original symbol. So, say your original symbol is called back and your original instance is called back_mc, if you name your new symbol next it will update the name of the new instance to next_mc. Otherwise, the original instance name (or lack thereof) will be kept.

UPDATE (9/21/09): DaveW correctly pointed out on the CHF forum that this command largely duplicates functionality that is built into Flash with right-click > Duplicate Symbol. It doesn’t do anything with the instance name, but that’s not a huge difference. In the future I may add something to make this extension more unique, if I find it’s helpful. Feel free to post ideas in the comments section.

Download
(compatibility: Flash MX 2004 and up)
Swap Instance for Duplicate Symbol.mxp

Flash Extensions: Auto Name Package

Justin | Flash, extensions | Friday, June 26th, 2009

Another set of Flash commands by request. I’ve had these on my machine for a while but haven’t released them. This extension contains 3 commands to accelerate the process of working with names in Flash. One command names your layer based on the content (assuming there’s only one object on the layer), the second command automatically names an instance by the name its library symbol, and the third copies the name of the selected symbol to the clipboard so that it can be quickly pasted into Actionscript. All of these commands are intended to be used most efficiently with keyboard shortcuts.

The auto-naming for layers also recognizes layers with actions and labels (and automatically locks them).

Package Contents:

  • INSTANCE – auto name
  • LAYER – auto name
  • CLIPBOARD – copy instance name

Download
(Compatibility: MX 2004 – Flash CS4)

Auto Name Package.mxp

Flash Extension: Break Symbol Into Layers

Justin | Flash, extensions | Friday, June 26th, 2009

I’d written an extension a while back that Convert a Timeline into a Symbol. David Stiller sent me a note yesterday wondering if I had an extension to do the opposite: break a symbol out onto a timeline (and retain the symbol’s layers). I didn’t have one yet, but it sounded like an interesting challenge, and something that I could certainly have used on a few past projects. So, a few hours after work I had something together, and here it is.

Download
(Compatibility: MX 2004 – Flash CS4)

Break Symbol Into Layers.mxp

Flash Extension: Switch Library Names

Justin | Flash, extensions | Friday, June 26th, 2009

When I’m working quickly, I’ll often find that I’ve swapped or duplicated the wrong symbol and my library names have gone haywire. In order to switch two names, you have give one a temporary name, since they can’t both have the same name at the same time. I wrote this extension to speed up that process. It takes two library symbols and switches their names. Nothing special…just a time saver.

Download
(Compatibility: MX 2004 – Flash CS4)

Switch Library Names.mxp

Building Extensions in Flash CS4 Lab at MAX 2009

Justin | Flash, conferences, extensions, news | Thursday, June 4th, 2009

I found out this week that I will be presenting a lab at Adobe MAX 2009 conference in LA (Oct. 4-7). I attended MAX for the first time last year and it was jammed with interesting sessions. MAX was originally aimed at developers, but it’s grown to include designers and other professionals. It’s a large price tag, but if you only go to one conference per year, I would recommend this one. The lab that I’m presenting this year is entitled, “Building Extensions in Flash CS4.” Here’s the description:

Learn about Flash’s History panel and how to translate user actions into dynamic Flash extensions. We’ll go through the basics of Flash JavaScript (JSFL), how JSFL relates to the Flash authoring environment, and how to use loops and basic logic to make powerful batch commands. After creating an extension, we’ll cover how to package an extension for distribution.

If you’re interested in working with Flash commands, learning more about JSFL, building extensions, or distributing extensions to others, come check out the lab!

Flash Extension: Sync Symbols to Timeline

Justin | Flash, animation, extensions | Saturday, April 25th, 2009

Advanced animation techniques in Flash often make use of nested symbols. It can make animating objects much simpler and leave timelines cleaner and easier to work with. Often in these animations, it’s helpful to sync the nested symbol’s timeline with its parent timeline. That way, complex animation can be built within a symbol and animated independently without adding tons of layers to the main timeline. This technique is frequently used in character animation to segment a character’s moving parts.

The difficulty then becomes going through each keyframe and setting the startFrame property (listed in the Property inspector as First). This can be quite tedious over hundreds or thousands of frames. The request for this extension came from an animator on the Cold Hard Flash forum. It will search selected frames for graphic symbols and set their startFrame property to match the timeline.

Download
(compatibility: Flash MX 2004 and up)
Sync Symbols to Timeline.mxp

Page 1 of 512345

Powered by WordPress