Archive for January 2009

A workaround for MOUSE_WHEEL on the Mac

Matt Giger has written an AS3 class that allows access to the MOUSE_WHEEL event on OS X. It uses javascript injection via ExternalInterface to proxy the event from the browser. Check it here

Gaia site.xml creator

A nifty AIR app for creating, printing, and editing a GAIA framework site.xml file.
Originally posted/get it here

Regular Expression for email validation

Had the need to validate an email address in Actionscript 3 recently. I have always copied and pasted regular expressions before.  I took the time and learned them (the as3 implementation anyway). Below is a function using an email validation regex and an example swf along with the source.

function isValidEmail( str:String ):Boolean {
[...]