deathcloud33
06-07-2005, 02:20 AM
I'm not sure whether or not this should be in the actionscript forum, but oh well.
whenever I run a syntax check, flash claims that there are errors, but the output box remains empty.
the same happens when I test run it.
if it helps, here is the code I am using(on a movieclip):
onClipEvent(load){
speed=0;
accel=1;
limit=10;
trace("sdfsdf");
}
onClipEvent(enterFrame){
if(this.hitTest(_root._xmouse,_root._ymouse){
this._rotation += speed;
if(speed <= limit){
speed += accel;
}
} else {
speed += accel;
if(speed>=0){
accel-=1;
}
}
}
I am making this for this (http://www.actionscript.org/forums/showthread.php3?t=75431) guy.
whenever I run a syntax check, flash claims that there are errors, but the output box remains empty.
the same happens when I test run it.
if it helps, here is the code I am using(on a movieclip):
onClipEvent(load){
speed=0;
accel=1;
limit=10;
trace("sdfsdf");
}
onClipEvent(enterFrame){
if(this.hitTest(_root._xmouse,_root._ymouse){
this._rotation += speed;
if(speed <= limit){
speed += accel;
}
} else {
speed += accel;
if(speed>=0){
accel-=1;
}
}
}
I am making this for this (http://www.actionscript.org/forums/showthread.php3?t=75431) guy.