This is the code that i will be using; so far i have tested it and it works with just few errors that i am trying to fix at the moment. After consulting with the lecturer he advised i use the key presss counters to call out the animations(swf files ) that i created using both after effects and flash.
CODE
var k = new Object(this);
var listen = true;
var r;
var counter = 0;
var t;
t = setInterval(resetcounter, 10000);
function resetcounter(){
counter = 0;
emc.unloadMovie(this);
}
k.onKeyDown = function(){
//if(listen == true){
if(Key.isDown(65)){ //code for A is 65
trace("Key A");
counter++;
emc.loadMovie(counter+".swf");
//listen = false;
}
if(Key.isDown(66)){
trace("Key B");
counter++;
emc.loadMovie(counter+".swf");
//listen = false;
}
if(Key.isDown(67)){
trace("Key C");
counter++;
emc.loadMovie(counter+".swf");
//listen = false;
}
if(Key.isDown(68)){
trace("Key D");
counter++;
emc.loadMovie(counter+".swf");
//listen = false;
}
if(Key.isDown(69)){
trace("Key E");
counter++;
emc.loadMovie(counter+".swf");
//listen = false;
}
if(Key.isDown(70)){
trace("Key F");
counter++;
emc.loadMovie(counter+".swf");
//listen = false;
}
if(Key.isDown(71)){
trace("Key G");
counter++;
emc.loadMovie(counter+".swf");
//listen = false;
}
//}
}
Key.addListener(k);
Wednesday, April 20, 2011
CRITIC 2(DIGITAL INTERFACES)
Monday, April 11, 2011
Emotion wall-intro part
This is the intro part, but not done yet, may be a should make it longer, and render again
Sunday, April 10, 2011
SCREEN DESIGN CREATIONS
The past week was a hectic one as i had to catch up more on my school work since we were on mid term break, i did certain layout in photoshop and exported to adobe after effects for animations. when i tried to animate them in after effects i faced more problems than what i expected. i had so many unorganized layers and made animating a tedious work, and i even had to restart certain effects again
Here are sum screen shots captured while working on the animation, this might not be the final work depending on whether improvements will be needed when continuing to animate
The above screen shot is for the first frame/ intro of my emotion wall project, animated in after effects and used trapcode star glow plugins to add sum interesting effects..
Here are sum screen shots captured while working on the animation, this might not be the final work depending on whether improvements will be needed when continuing to animate
animating the into screen |
The above screen shot is for the first frame/ intro of my emotion wall project, animated in after effects and used trapcode star glow plugins to add sum interesting effects..
Subscribe to:
Posts (Atom)