Monthly Archives: September 2009

Navigating the timeline ++

This project demonstrates timeline navigation, key stroke detection, a basic URLRequest, context menu modification, and how to make an object annoyingly trail the mouse cursor. The code follows after the jump.
Posted in Actionscript/Flash, Animation, General | Tagged , , | Leave a comment

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; }
Posted in Actionscript/Flash | Tagged , , | Leave a comment

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.
Posted in Animation | Tagged , , | Leave a comment

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!
Posted in General | Tagged , , | Leave a comment

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 [...]
Posted in Animation, University | Tagged , , , | 1 Comment