ryanSmithART.com/courses/363/2014


- week #9 -

ryansmithart.com/courses/363/2014


class starts at 11:00am this week

Project B is due today
Assign Project C
talk more about Variables






Project C
Examples:

Robot | Pet Monster | Telekinetic Helmet | Rocket | Missile Turret | Study Animation | Toad


FLASH

Basic usage of the if conditional AS 3.0 :

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player


Download .fla file and/or look at code



//the code on frame 1:
stop();

var i:int;
i=0;
trace("i is" + i)

//////////code for the button/////
BTN1.addEventListener(MouseEvent.CLICK,test);
function test(evt:Object):void{

if (i==0){
gotoAndStop(2);
}else{
gotoAndStop(10);
}
i=i+1;
trace(i);

if (i>=7){
i=0
trace("i is" + i)
}
}


homework

Project C :

come up with an idea, draw a mode diagram, show it to me on an 8.5 x 11in. paper
if you draw it on the computer, then print it
( I will look at this next class )