InteractivePNG – AS3 Class to handle hit areas for transparent PNG's

Moses Gunesch, creator of Fuse Kit and ZigoEngine , has developed an AS3 Class which handles mouse interactions when dealing with transparent PNG’s.

Here is the theory:
If you have a PNG (one that contains transparent areas) embedded inside of a MovieClip button, the rectangle of the image acts as the hitArea of the MovieClip. In order for the hitArea to only be defined by visible areas of the image, you would normally have to create a custom mask in order to hide the transparent areas of the PNG. This AS3 Class allows you to specify an alpha tolerance (0=transparent, 255=completely opaque), that will allow you to selective exclude the transparent areas from your hitArea based on the value that you give it. This is a very simple concept, but an intricate implementation.

The project is open-sourced under the MIT  Open Source License. Go and check it out:

Date
February 2, 2009
Time
5:27 pm
Category
Uncategorized
Tags
Tags: , , ,


ejectAllVolumes Dashboard Widget v1.1.0

Eject All Volumes widget v1.1.0

This is an update to the ejectAllVolumes Dashboard Widget.

This version Will give you a list of mounted volumes. You can deselect any volumes that are listed to exclude them from the unmount action.

Links after the break.

(more…)

Date
June 18, 2008
Time
7:02 pm
Category
Uncategorized
Tags
Tags: , , , , ,


ejectAllVolumes dashboard widget v1.0.1

Eject All Volumes

Today I’m releasing a Dashboard widget that will allow you to execute a bash script that will eject all mounted volumes with 1 button click.

To download the widget: Download ejectAllVolumes widget 1.0.1 (Zip file)

For more details check out the ejectAllVolumes project page.

Date
June 6, 2008
Time
5:15 pm
Category
Uncategorized
Tags
Tags: , , , , ,


ejectAllVolumes v1.0.1: update

I got some feedback after passing this out to a few friends. Here is what I’ve changed:

  • Removed clear
  • Output the display message to /dev/null
  • Removed echo "complete"

These changes remove any of the outputs to the display. The only time you will receive a message is if you have file that is currently open in an application and the script cannot unmount the volume.

For more details check out the ejectAllVolumes project page.

Date
June 5, 2008
Time
11:54 pm
Category
Uncategorized
Tags
Tags: , , , ,


ejectAllVolumes v1.0.0: Eject all mounted volumes from your Mac

After some tooling around I’m finally releasing a little bash script called ejectAllVolumes. This script is named after it’s purpose. It will safely eject all mounted volumes from your Mac.

For more details check out the ejectAllVolumes project page.

Date
Time
6:09 pm
Category
Uncategorized
Tags
Tags: , , , ,


AS3 Animation Benchmarking Utility, TweenBencher

Moses Gunesch the creator of FuseKit created a very nice open-source tool called TweenBencher. The utility can be used to chart animation performance through the Flash Player’s framerate over the time of the animation. This is a really nice tool and goes a long way to helping developers figure out which animation package to use and for what reasons.

My results showed that the top performers were (in order):

  1. Simple AS3 Tween (could not find a link for this one)
  2. TweenLite
  3. Tweener

Here is the output of my tests for every animation framework that is listed in the demo application.
(more…)

Date
October 24, 2007
Time
7:06 pm
Category
Uncategorized
Tags
Tags: , ,


RubyAMF

My friend Aaron Smith has created a really great open source project for Flash and Flex remoting called RubyAMF. This project supports AMF0 and the very fast AMF3. Go check it out if you get a chance!

Date
May 3, 2007
Time
11:02 am
Category
Uncategorized
Tags
Tags: , , , ,


PNGPong v1.0.0: Displaying transparent PNGs in IE

I’d like to announce the first public release of PNGPong, a cross-browser solution for displaying transparent PNGs on the web for IE, Firefox, and Safari.

Download Links

For more details check out the PNGPong project page.

It’s been tested by several developers and QA people and is in use for a high traffic site. Please note that the Javascript API and functionality was created out of the needs of a specific project. I’d be happy to hear your thoughts on improvements.

Thanks for checking this out.

Date
April 17, 2007
Time
1:41 am
Category
Uncategorized
Tags
Tags: , , , , , ,