MP5SD
March 27, 2003, 4:53am
1
why oh why dosnt thins work?
onClipEvent(load) {
tmr1 = getTimer();
}
onClipEvent(enterFrame) {
tmr2 = getTimer();
tmr3 = tmr2 - tmr1;
if(tmr3>1000) {
this._rotation = 90;
tmr1 = getTimer();
}
}
ok maybe i just cant do it this way or maybe im missing something pls help ANYONE.
Flash MX
system
March 27, 2003, 6:39am
2
Hey.
I’m not sure what you’re trying to do. I don’t know what
getTimer(); does, but I could take a good guess. If you just want a counter to go to 1000, then stop your function, try this:
onClipEvent(load){
i=1;
}
onClipEvent(enterFrame){
i++;
this._rotation=i*90;
if(i>1000){
this._rotation=0;
}
}
Is this right?
(-:
system
March 27, 2003, 12:29pm
3
well i was trying to get it to repeat an action over and over every second that why i have 1000 in there.
i just dont seem to be able to get it to work.