Archive for the ‘opensource’ Category

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

Monday, February 2nd, 2009

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:

ejectAllVolumes Dashboard Widget v1.1.0

Wednesday, June 18th, 2008

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…)

ejectAllVolumes dashboard widget v1.0.1

Friday, June 6th, 2008

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.

ejectAllVolumes v1.0.1: update

Thursday, June 5th, 2008

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.

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

Thursday, June 5th, 2008

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.

AS3 Animation Benchmarking Utility, TweenBencher

Wednesday, October 24th, 2007

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…)

RubyAMF

Thursday, May 3rd, 2007

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!

PNGPong v1.0.0: Displaying transparent PNGs in IE

Tuesday, April 17th, 2007

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.