Score: 10
"cool! 5/5"
date: May 3, 2008
helped me : )
heres the errors i picked up and corrected:
First:
onClipEvent(enterFrame){
if(Key.isDown(Key.DOWN)){
if(_root.BG.hitTest(_x, _y + 5, true)){
this._y += 4;
}
else
;
}
if(Key.isDown(Key.UP)){
if(_root.BG.hitTest(_x, _y - 5, true)){
this._y -= 4;
}
else
;
}
if(Key.isDown(Key.LEFT)){
if(_root.BG.hitTest(_x - 5, _y, true)){
this._x -= 4;
}
else
;
}
if(Key.isDown(Key.RIGHT)){
if(_root.BG.hitTest(_x + 5, _y, true)){
this._x += 4;
}
else
;
}
}
dont know if this was just me, but i just wanted to point it out.
(also, people, you should right click all of the code and click 'select all' it gets all of the code)
great! Helped me a lot on coding and stuff...