Wednesday, April 29, 2009

AS2/3 stage height & width

AS2 Stage.height and Stage.width
AS3 stage.stageWidth and stage.stageHeight

AS2 switch

Actuallt didn't know about the switch command that works like an if statement.

var coffee:Number = 5;

switch (coffee){
case 5:
trace("coffee yeah");
case 5:
trace("no coffee");
default:
trace("nothing");
}

babycard


made a little baby card for a co-worker

Friday, April 17, 2009

Giraff