Flash 8: gOOify Mike Chambers, and win!

So I’m back from my honeymoon on the Mediterranean, which was awesome, and very relaxing. Being the nerd I am I came back with a few sheets of sketches and descriptions of experiments/concepts I wanted to pursue when I got home.

The first idea that I tackled is an image goo-ifier that works similarly to PowerGoo, or Liquify in PhotoShop. It’s pretty simple in implementation, but is one of my favorite Flash 8 experiments to date.

This experiment was inspired by Guy Watson’s PowerGoo experiment, though I believe it takes a completely different technical approach. I’m guessing his uses per-pixel manipulation, whereas mine uses a dynamically generated displacement map. His offers more flexibility in the level of manipulation, while mine runs a lot faster, and generates a smoother result. It also includes a snifty animate function.

Thanks go to Mike Chambers for agreeing to be the victim of your distorting (distorted?) fun. I thought it was fitting to use Mike because in many ways he’s the face of Flash – and I’d already picked on Mike Downey enough. 🙂

Just to make things interesting, we will be giving away a free copy of gProject to the best gOOified picture of Mike that we receive by Monday, October 10, when we will post the cream of the crop and the winner to the blog. For now, you’ll have to screenshot your results, post it to your site and put a link to it in the comments with the title of your “art” (or email the pic to us).

Which reminds me: we have another free copy of gProject for the first person to create an AS & PHP system for sending a COMPRESSED version of a BitmapData object to the server and saving it as a JPG.

Continue reading →

gStartPage

gStartPage is an extension for the gProject Panel. It gives you quick access to your gProjects and lets you select a project without having to open a blank document first. Clicking a gProject selects the project in the gProject panel and opens the anchor FLA in flash. If the panel is not open, the anchor file will still open, and the project will be selected when you open the panel manually.

Continue reading →

gProject for Flash 8

I know its a little later than promised, but an update to the gProject panel is now available that plays nice with Flash 8 (But still works in MX04 7.2). The new version also fixes a few bugs, and takes advantage of some of the new Flash 8 enhancements (such as setIdleTimout).

As usual, gProject can still be purchased here, and you can find more information on the gProject page, as well as the online documentation, which has been updated. For those who purchased gProject, you should receive an updated version via the email address you provided today. If you haven’t received anything, please feel free to send an email to gskinner (at) kagi (dot) com.

Important Notice

gProject does NOT work with projects and files stored on a network drive. This has to do with a limitation in the JSAPI, and as such may not be resolved in future versions.

Flash 8 Source – ColorMatrix

The new ColorMatrixFilter in Flash 8 provides enhanced color manipulation capabilities to developers. If you’ve played around with it, you’ve noticed that the ColorMatrixFilter accepts a 5×4 matrix (20 element Array in Flash) and uses specific indices in that array as multiplication values for Red, Green, Blue and Alpha, as well as offset values (we are currently writing an article explaining different types of matrices in depth, including the ColorMatrix, which you should see at Macromedia’s Developer Center in the near future). The ColorMatrix class was born a while back out of the need to have a more “friendly” programmatic interface to manipulating these color values.

ColorMatrix provides a way to adjust Brightness, Contrast, Saturation and Hue based on a range of numeric values as well as multiply matrices. The ColorMatrix can then be passed into ColorMatrixFilter to apply color adjustments. The added bonus of ColorMatrix is that it uses the same calculations to generate matrix values as the Flash 8 IDE (with the exception of contrast adjustment which uses linear interpolation to provide a bit more granularity).

Continue reading →

Flash 8: DevNet Article Series

Macromedia has been working hard to ensure there will be a steady stream of information available to developers when Studio 8 drops, and here at gskinner.com we’ve been working hard to help them. We’re writing a series of DevNet articles, which will be released over the next couple months, on some of the hottest new features in Flash 8 Professional.

The first three, which should be released over the course of the next month include: an exploration of my varicose-g experiment in Flash 8; a beginners guide to preparing and importing video with alpha channels using After Effects and Flash 8; and a look at binary numbers, hex numbers, bitwise operators and color values. We’re planning to follow those up with a few more great articles on important Flash 8 topics.

Keep an eye out for them and a ton of other great content on the Macromedia DevNet. We’ll also post here as each article is released, along with other tips and code.

Here’s a look at varicose-gv8 (which you might recognize from a MM keynote). The latest Flash 8 player is required.

Continue reading →

Source Code: MultiTween Class

I’ve wanted an easy way to tween multiple properties of an object for a while now, but always been a little too lazy (or busy) to build one. Enter Flash 8, with its abundance of matrixes and filters, just begging to be tweened. My requirements were fairly straightforward:

  • Support for matrixes (arrays) and objects
  • Simple to integrate with existing tweening classes and custom tween routines
  • An extremely straightforward and easy to use API

The result was the com.gskinner.transitions.MultiTween class, which you can download at the end of this post. It allows you to programmatically tween multiple object properties or array elements by changing a single value. Here’s a quick API spec:

Continue reading →