Todd Delman Final Project Design 756/Peter Gerstmann

link to final proposal : http://www.accad.ohio-state.edu/~tdelman/pfa/final/fina_proposall.html

_global.nosedepth=10;
_global.mouthdepth=9;
_global.eyedepth =8;
_global.headdepth=7;
_global.eardepth=6;
_global.bodydepth=5;
_global.armdepth=4;
_global.headstuffdepth=3;
_global.legdepth=2;
_global.taildepth=1;

var state = "hidden";

var totalRotation=0;
var cw;


this.onEnterFrame=function(){
if (totalRotation>0){

if (cw){wheel._rotation=wheel._rotation+3;}
else{wheel._rotation=wheel._rotation-3;}
totalRotation=totalRotation-3;
}

};

TAIL Button Sample code
on (release) {
_root.attachMovie("tail2", "tail", taildepth)
with (_root.tail) {
_x = 580;
_y = 370;
}
}

TAIL Movie Sample code
on(release){
this.nextFrame();
}
gotoAndStop(1);

ARROW Button sample code
on (release) {
_root.totalRotation=36;

_root.cw=false;
//with (_root.wheel) {
//_rotation = _rotation+36;
// }
}

X button sample code (calls up a blank movie)
on(release){
_root.attachMovie("x_blank","x", taildepth);
with(_root.x) {
_x=550;
_y=170;
}
}