- art382 [interactive_media] sp2013 -

instructor : ryanSmith

Week #15

** Course Evaluations **

due : Wed. May 8 :
*Last day to resubmit Projects A, B, or C for grade improvement
Rough Draft of Final Project is due




FLASH :

fun stuff:
http://ryansmithart.com/build_your_own_brakhage.swf

open : QWERTY_CS5.fla
or QWERTY._CS4.fla
**What's a projector file?


for loops:
see "Three-expression for loops" (initializer ; loop-test ; counting expression)
///////////drawing with ActionScript3.0:
var i : int;
graphics.lineStyle(1.5, 0x00ff00, 1); ///////////(size, color, alpha/style)
for (i=0; i<500; i=i+5) { //set i to be zero, and add 5 to i as long as it's <500
graphics.moveTo(30,10); /////(x, y)
graphics.lineTo(100,200);
graphics.lineTo(300,10+i);
}


////////////////////////////////////////////////////////////
more with for loops:
///////////////////////////////////////frame1
var i, frameCounter:int;
frameCounter=0;
///////////////////////////////////////frame2
frameCounter= frameCounter+1;
graphics.clear();
graphics.lineStyle(i, Math.random()*5000000, .25);
for (i=0; i<=30; i=i+1) {
graphics.drawCircle(i*30,i*30,frameCounter/2);
}
///////////////////////////////////////frame3
gotoAndPlay(2);


Arrays:
( Week 7 )

var groceryList:Array;
groceryList=new Array()

groceryList[0]="eggs";
groceryList[1]="bread";
groceryList[2]="milk";
groceryList[3]="cheese";

trace(groceryList);

Fun Website: http://martinanderle.de/#/portfolio

Arrays with for loops:

var a: Array;
a = new Array();

var i : int;
for (i=0; i<100; i=i+1) {
a[i] = new squiggle();
a[i].x= Math.random()*700;
a[i].y= Math.random()*700;
a[i].rotation=Math.random()*180
addChild(a[i]);
}

open squigles.fla


More Fun Stuff:

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

Get Adobe Flash player


The Code



Fun Web Design Stuff

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

Get Adobe Flash player






Home Work :

May 8th
*Last day to resubmit Projects A, B, or C for grade improvement
Rough Draft of Final Project is due

FINAL PROJECT is due...

http://registrar.umbc.edu/files/2012/12/S13FinalExam.pdf

If ( class time == MON & WED 10:00 AM ) {
Exam time = MON, MAY 20, 10:30 AM - 12:30 PM
}else{
Exam time = MON, MAY 20, 10:00 AM - 12:00 PM?
}

If ( class time == MON & WED 2:00 PM ) {
Exam time = FRI, MAY 17, 1:00 - 3:00 PM

}