7-day free trial to lynda.com video training library.

The Missing Flash Panel: EaseCaddy

Justin | animation,extensions,Flash | Thursday, February 26th, 2009

Along with the brilliant new tweening model in Flash CS4, the Flash team has given us the powerful, but somewhat daunting, Motion Editor panel. The Motion Editor panel allows for extremely precise control of each individual animation property as well as custom easing curves. Put simply, the upshot of the Motion Editor is control and precision, the downside is time and complexity. One area where a lot of time can be lost is in recreating custom eases. A custom ease cannot be transferred from one tween to another (UPDATE: you can copy/paste curves in the motion editor–a great feature that I somehow missed. See comments for details. Thanks, Eric!). Custom eases can be cumbersome to transfer eases across tweens and across files. And I’ll go out on a limb here, there was no way to transfer an ease from a classic tween to a motion tween or vice versa…that is, until EaseCaddy.

Video demos

I should clarify somewhat. The Motion Presets panel that comes with CS4 is a great way to store and quickly apply entire animations that include easing. In fact, I modeled the visual design and functionality of EaseCaddy on the Motion Presets panel. But what if you want to apply an ease from a motion preset, but not overwrite your existing animation? Or apply the effect to a different property? Hence I’ve titled this post, “The Missing Flash Panel.”

The EaseCaddy panel allows you to store your custom eases and re-apply them. You can save your eases to a file and send them to someone else. You can save both classic (pre-CS4 motion tween) eases and object (new motion tween, as of CS4) eases, and apply one to the other. So you can even save eases from your Flash CS4 Motion Editor panel and send them to someone who has Flash CS3, or open up old files and reuse your classic tween eases on the new motion tweens. EaseCaddy will translate them for you. The panel is sortable by column, and has a filter field, in case you collect a large number of eases. Eases within the panel can be renamed by simply double-clicking on their names. There’s an adjustable preview at the top gives an approximation of the easing curve. I used Singularity’s FastBezier Actionscript class to draw quadratic bezier curves from the cubic curve data (explanation here).

When applying a stored ease to a new motion tween, you can choose to apply it to the available properties that currently have keyframes. This keeps you from having to open the massive Motion Editor editor panel, while still taking advantage of much of the power and flexibility that the new motion model offers. And, since recording the demo, I’ve also added an overwrite option to this box. If you want the settings to overwrite existing applied eases, you can check this box. For instance, suppose you just applied an ease to X, Y, and rotation (Z)–the default–, but you only wanted the ease to be applied to Y. You can re-apply the ease and uncheck X and rotation, and check the box that says, “Set unchecked properties to ‘No Ease’.” This will remove the first ease that you applied from the X and rotation properties, and apply the new ease to the Y property only.

When you import and export, you can any number of the eases available.

I used many of the same techniques that I created for the MotionSketch tool to interact with the new tweening model. I’m still planning to post a technical explanation on that process if anyone is interested. The EaseCaddy panel is available (free) for CS3 and CS4. There are three reasons why it’s not compatible with earlier versions of Flash: 1) Actionscript 3 components are much more powerful, 2) There’s a lot of XML manipulation in this extension, which would have been a nightmare, until E4X was introduced to JSFL and Actionscript in Flash CS3, 3) Some on the JSFL commands were not available prior to CS3. I used several of Peter DeHaan’s articles on Flash components to get up to speed with some of the AS3 components; I’d highly recommend them.

UPDATE (2/9/2012): Version 2.0 has been optimized for CS5 and above (while still compatible with CS3 and CS4). Additionally, there is now a Pro version of EaseCaddy that allows you to apply an ease to multiple tweens simultaneously.

Download
(compatibility: Flash CS3 and newer)
EaseCaddy.mxp

[I'm using Jing for video capture, which is nice because it's free, but it crashes constantly and has some other issues that I won't go into here. If you like this extension and/or you like the video demos/tutorials on this site, you can donate using the link on the right side so that I can invest in some better video capture software.]

New Flash Extension: MotionSketch

Justin | extensions,Flash | Tuesday, February 10th, 2009

I had the idea when Flash CS4 came out to create a tool that recorded drawing in real-time and created a tween based on that drawing. Because of the slick new object-tween in Flash CS4, the tween could be created with just a start and end keyframe, but at the same time, the motion path could be incredibly complex. Additionally, all of the timing could be stored within a single easing curve. The resulting tween would be super clean and super editable. So I was fairly disappointed to find out that none of this new functionality had been included in the  JSFL (extensibility) API when Flash CS4 came out. After a lot of digging behind the scenes in the Flash application, as well as a very useful article and helpful correspondence from Flash engineer John Mayhew,  I came up with a way to accomplish this extension. I will cover the somewhat daunting technical details of this process in a future another post (UPDATE: technical post now available). For now, enjoy the extension!

Want to see it in action? Check out the MotionSketch video demo.

UPDATE (5/1/09): Released the Actionscript class to produce the write-in effect shown in the demo.

Download

(Compatibility: Flash CS4)
MotionSketch.mxp

Thanks again to John Mayhew, Jen DeHaan, and Richard Galvan @ Adobe.

Announcing a New Service: Workflow Consulting

Justin | services | Tuesday, February 3rd, 2009

Starting today I will be offering a new service. I’m tentatively referring to it as Workflow Consulting.

Who is this service for?

This is a service primarily aimed at design studios, animation studios, and creative agencies.

If you work at or manage a design studio/agency, and have a large project coming up, but you don’t know how you can accomplish it with a limited number of staff, then you may want to keep reading…

Or maybe you’d like to be able to take on larger projects, but you can’t afford the extra staff, then this may be of interest to you.

Who am I?

I’ve worked as a designer/developer, in both print and interactive design, on several large projects like the scenarios described above. Over the past 5 years, I’ve had enormous success putting together workflows that accomplish the seemingly impossible.

What is this service?

I will assess your situation and devise a custom solution to get the maximum leverage from existing resources.

I can work within your team, using the team’s existing strengths, to build custom solutions. By using a solution built from within the team, your staff will have a unique understanding of how the system functions. This reduces the need to purchase an expensive solution that requires constant support because no one knows how it works.

Depending on your team’s experience, I can create custom tools for your workflow, or I can teach your team how to create the tools themselves, including utilization of the following:

  • XML
  • Relational Databases
  • Content Management Systems
  • Object-Oriented Programming Techniques
  • Modular Design
  • Scripting and Automation

These solutions, far from hindering creativity, will actually free up talented staff to work on the creative aspects of a project, rather than force them to wrestle with the underlying technology.

If you’re interested in getting more out of your workflow, please contact me for a consultation.

Examples of Workflow Solutions