Saturday, February 14, 2009

Mystery Clock



The look of this clock is inspired by the Santa Cruz Mystery Spot. The clock uses the Actionscrip2 Model-View-Controller pattern as implemented in Colin Moock's 'Essential Actionscript 2'.


I have added a few of my own ideas to this beyond simply changing the look of the clock. The biggest change is that I have removed the need for the mx.Controls.Button component, reducing the file size from 108Kb to 13Kb. This type of saving would be very useful in a widget application which is deployed across social networks and download many times each day. To make this work, I extended the MovieClip class, allowing listeners to subscribe to the onRelease event. These movieclips act more like ActionScript 3 DisplayObjects in that they now implement the EventDispatcher interface.

Monday, February 2, 2009

Interactive Cat



Taking this as inspiration I am currently developing this interactive cat widget. The current artwork and functionality is obviously very similar to the original (although I have redrawn it myself). However, the point of this widget was to gain a better understanding of Actionscript 3 interaction with the Clearspring platform.

Eventually I intend to make the colours and behaviours of the cat customisable. Hopefully I will have some updates on this soon.