Wednesday 20 April 2011

code for the assignment

i created the rough Gannt chart for our timeline and after we consult, i find out the script on how to do the installation art.
Software Using
Webcam Zone Trigger
Webcam Zone Trigger is a software that enable user to detect movement using webcam. It enable the computer to do multitask like play sound, keyboard control, mouse control or other command.
Adobe Flash Proffesional
Adobe® Flash® Professional CS5.5 software is the industry-leading authoring environment for producing expressive interactive content. Create immersive experiences that present consistently to audiences across desktops, smart phones, tablets, and televisions.
Adobe After Effect
Adobe After Effect is a software that enable us to edit video and recreate a whole movie. It is useful for typography animation, video editing, and video production.
How does these software help us in our installation art.
we are going to use adobe after effect to crop our kid movement out and make the background to clear, this is why we use the greensreen studio when we shoot the video.
The Webcam Zone Trigger is going to use as the software to detect the audience movement, the software is recommend when we consult and we found out the software is easy to use and enable to perform many task that suit with our installation art.
We us Adobe Flash Professional as our main screen is because this software enable us to do animation and coding at the same time.
Script:
//code

var k = new Object(this);
var listen = true;


var r;
box0._visible = false;
box1._visible = false;
k.onKeyDown = function(){
if(listen == true){
r = random(2);
if(Key.isDown(65)){
trace("Key A");
_root["box"+r]._visible = true;
_root["box"+r].gotoAndPlay(2);
listen = false;
}
}
}
Key.addListener(k);

No comments:

Post a Comment