Ask about : Project B
- due on Wednesday, October 16
*Anybody not show their work last week?
*Anybody not give me the required materials (.fla, .swf, etc.)
Content on this page requires a newer version of Adobe Flash Player.
"Try it once, and not much happens.
Try it again, and fail.
Keep trying, and keep failing.
Start over, and eventually you will succeed.
Then you do it again."
//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==5){
gotoAndStop(3);
}
if (i>=7){
gotoAndPlay("youWin");
}
}
Spend 1 of those hours outside.
Turn off the computer and the TV. Don't touch your phone.
And, see if you can spend 1 continuous hour without an electronic device.
The fresh air, and lack of electronics, will recharge YOUR batteries,
and leave you feeling refreshed.
It doesn't matter if you sit, walk, stare at the trees, or just close your eyes…
Take some time for yourself this week.
Next week:
If I don't get to see "Mode Diagrams" this week, then bring them on Monday.
I will start helping you with your code on Wednesday, so have something started.
I should talk about health, and how not to destroy your body while going to art school.