Source Code: Image gOOifier

I promised I would be blogging and releasing more source code soon, so here’s a start…

A while back I posted my “gOOify Mike Chambers” Flash 8 experiment, which let you distort an image by “pushing” the pixels around with your cursor – similar to Kai Powergoo or Photoshop’s liquify command. Since then I have had a lot of requests for the source code, so I cleaned it up, and you can download it below.

Feel free to modify it and use it in your non-commercial projects (attribution/credit is appreciated, and I would love to see what people build with it). If you’d like to use it in a commercial application, send me an email and we’ll work something out.

Click here to download the source code.

Create File from Template in OSX with Right Click

There have been a few occasions when I envied Windows users’ ability to create a new empty file within explorer by simply right clicking. Why can’t we do this in the Finder on Mac OSX?

Browsing the forums on MacNN, I encountered this post on the issue, which spurred me to apply my limited AppleScript knowledge (mainly gained while trying to create my flCompile workflow) to create a solution. The result is the “QuickFiles” Automator workflow (aka context menu extension), which takes it one step better than Windows by letting you define template files.

To use QuickFiles, simply open the folder that you wish to copy a template into. Right click in the finder window (or on a file in the window), and select “QuickFiles” from the “Automator” menu. Select the template you wish to copy using the mouse or keyboard (arrow keys, or type the first few letters of its name), and click ok (or press enter). The template will be copied into the folder and selected. Hit enter to rename the file, or cmd-O to open it.

The list of file templates is controlled by placing template files in a “QuickFiles Templates” folder in your Library. Read the Read Me for full information.

Disclaimer

I take absolutely no responsibility for any problems you experience or damages (direct or indirect, including but not limited to loss of data) caused by using these workflows. I have tried my best to make sure they are totally safe, but I am not an AppleScript expert or a command line guru. Use at your own risk.


IMPORTANT NOTE

This version of QuickFiles does not work with OSX 10.6. I have released a vastly improved version of QuickFiles which you can read about and download here.


You can download this handy extension by clicking here. Be sure to read the supplied Read Me for installation and usage instructions.

Gallery Incomplet Wins a Rubber Arrow

Last night was the Flash Film Festival at FlashForward 2006 Seattle. Gallery Incomplet [Note: Moved to incomplet.gskinner.com] was a finalist in the experimental category along with three other great sites. I was really thrilled to win another rubber arrow (number three) for a site which has been so much fun to build – it helps validate the general thrust of my session: that experimental work is one of the best ways to learn Flash and gain community exposure.

I’d like to thank my awesome team back in the office for helping to free up enough of my time so that I could do these experiments. I’d also like to thank my wonderful wife for being very tolerant with me ignoring her, staying up late, and for pretending to be interested when I’d show her half completed experiments.

The conference has been really great so far – very well organized, and some awesome sessions. I think my session went well, except some technical difficulties with my webcam. There seems to be a lot of people here (I’d guess it is the most in a few years). I’ve definitely done a bit too much partying though… I’m ridiculously tired today… but it’s been fun. 🙂

Make sure you check out the other finalists, particularly the people’s choice award winner, Dofus. Anyway, my battery is running down, so I’m out.

Gallery Incomplet updates for Jan-Feb

I haven’t made a huge number of additions to Gallery Incomplet [Note: Moved to incomplet.gskinner.com] since my last update. This is because I’ve been really busy since the holidays teaching my London workshop, prepping for FlashForward and FitC, moving into the new office (more info on that soon), releasing gProject 1.3, and all the usual work / personal things that normally keep me busy.

I’ve been meaning to post code for some of the newer experiments, but prepping/documenting source code for release is a significant undertaking and I just haven’t had time. Now that things have settled down to a dull roar, I plan to do more blogging. This will include releasing a lot more source code and tutorials (ie. real content).

There have been a few notable additions though, and I’ve done a fair amount of work updating the engine with hidden features which are described below.

Continue reading →

gProject Version 1.3 Released

We have just completed and released version 1.3 of our alternative project panel for the Flash authoring environment. gProject 1.3 adds significant new features requested by our user base, including:

  • Locations: add directories to your project that do not reside within your main project directory. This can be done globally (for all projects), or per project. Locations will be displayed at the top of the file browser with a new blue folder icon. Network locations display with a variation of the blue icon.
  • Network support: gProject now has full support for projects and locations that are on networks.
  • Quick Project: this feature lets you create a new temporary project based on the front-most FLA. Great for times when you want to quickly take advantage of file browsing or standardized class creation without a permanent project. Quick projects have all of the features of full projects, and can be easily converted into a permanent project.
  • Class path enhancements: the panel now supports new options for specifying class paths, including relative (ex. ../src/classes) and absolute paths. Regardless of the class path location, the classes directory will be aliased at the top of the file browser with a new green directory icon.
  • Organize Library: Added a new utility menu item that will organize your FLA’s library based on linkages.

Continue reading →

Refreshing Panels in Flash 8

Here at gskinner.com, we do a lot of panel development. For speedier development, we set the publish settings to spit the swf directly into the “Flash MX 2004/en/Configuration/WindowSWF/”directory. This way, once the panel was published once, you didn’t need to move any files, or even leave the IDE — you could simply close and open the panel.

One of the biggest panel development gotchas in Flash MX 2004, was that in order to refresh a panel, you needed to click the “close” button, and not use the right-click/close panel method. Using the latter would keep the panel open in memory, and not reflect changes when it opened.

When Flash 8 dropped, we were excited about the smarter custom swf panels, which detect changes in the swf, and refreshed only when changes were made. This means that no matter how you close the swf, it will not reload unless changes are made. That in itself is great, but a bug in Flash 8 refreshes only the graphics in updated swfs, and not the external classes. This made panel development in Flash 8 impossible. Until today, we had been doing most panel work in MX04, and in the cases where we need to use Flash 8, multiple restarts were necessary.

The solution?

Dock/undock the panel.

We found this totally by accident, but it works! This is the only way to completely refresh the panel, code and all in Flash 8.

FlashForward Finalist for Experimental

It’s been a good day! First my FWA interview was released, and I now I just learned that Gallery Incomplet [Note: Moved to incomplet.gskinner.com] is a finalist in the FlashForward Film Festival. Click on over and check out the amazing sites that are up for awards, and get some inspiration.

I will be giving a talk at FlashForward titled “Digital Art and Alternative Interactions” that deals with a lot of the philosophies, techniques and code that went into incomplet. I’ll also be discussing a lot of the technical aspects of the site at my London Flash 8 Bootcamp.

Update: I looked over the competition, and it’s going to be a tight race – some really nice work, each with a distinct flavour. I’ve judged the experimental category in the past a few times, and often been a bit disappointed by the field. I hope this is indicative of a resurgence of experimentation in the Flash world.