Monthly Archives: September 2009
Hours of fun with ‘Nudge the Black Circle’
An EventListener listen for clicks for each of the four buttons, executing the corresponding function, which manipulates the X or Y value by 10. Is there a more efficient way to do this?
btn_left.addEventListener(MouseEvent.CLICK, nudge_left);
btn_right.addEventListener(MouseEvent.CLICK, nudge_right);
btn_up.addEventListener(MouseEvent.CLICK, nudge_up);
btn_down.addEventListener(MouseEvent.CLICK, nudge_down);
function nudge_left(e:MouseEvent):void{
black_circle.x -= 10;
}
function nudge_right(e:MouseEvent):void{
black_circle.x += 10;
}
function nudge_up(e:MouseEvent):void{
black_circle.y -= 10;
}
function nudge_down(e:MouseEvent):void{
black_circle.y += 10;
}
I am an airplane
The EventListener listens for every time Flash enters a new frame, and executes the function fly, which manipulates the X values of three objects on the stage.
Flash/Actionscript, the very very basics
I’m trying to wrap my head around Flash and basic Actionscript. So far, I have produced this exciting button, which loses 5% alpha for every click, and then restores alpha to 100% when the cursor leaves the button. Getting there!
Zap! Cola, 3d commercial
The cola commercial (which I’ve mentioned recently) was due this morning, and my endless hours of rendering time were condensed to a 30 second display of glass textured concept-lacking madness. I had only used Cinema 4D once, for a still-frame bottle render, before this, hence the modest detail in the models. Anyway, I’m very happy [...]

Navigating the timeline ++