all groups > flash actionscript > december 2006 >
You're in the

flash actionscript

group:

hitTest problems



hitTest problems tangytom
12/23/2006 6:40:54 PM
flash actionscript: Hi,
Its me again with more problems. I have a character MC on my stage and a
wall MC, i want to happen so that when my character MC walks into the wall MC
the timeline will jump to frame 2. I have been using this code and it is really
starting to frustate me. any help?

}
if (_root.wall.hitTest(_root.char1)) {
gotoAndStop(2);
}

Thank You.
Re: hitTest problems kglad
12/23/2006 6:49:13 PM
Re: hitTest problems tangytom
12/23/2006 10:34:03 PM
Re: hitTest problems kglad
12/23/2006 11:13:39 PM
Re: hitTest problems tangytom
12/24/2006 12:00:00 AM
Re: hitTest problems ggshow
12/24/2006 5:47:07 AM
onEnterFrame = function(){
if (_root.wall.hitTest(_root.char1)) {
_root.gotoAndStop(2);
}
Re: hitTest problems ggshow
12/26/2006 12:00:00 AM
AddThis Social Bookmark Button