PDA

View Full Version : Hittest problem



Skinny_T
September 29th, 2003, 12:47 AM
Hi I'm making an RPG and I'm having trouble with part of the code

onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
trace("hit");
_global.hitWall = true;
trace("Wal mc: "+hitWall);
_root.man.stop();
_root.onEnterFrame = function() {
_root.movie;
_y -= 0;
_y += 0;
_x -= 0;
_x += 0;
};
\\I know the code needs to go here
}
}


I know where to code needs to go and everything I try loads up the wrong thing. Maybe the .fla would help better. When I walk into the green circle on the screen (u'll know when u download it) My movie stops as planned. What I want is when I walk away from the tree again the movie starts scrooling with my character again

Skinny_T
October 1st, 2003, 08:56 PM
any ideas?