hey guys,
i have a problem
i have a hittest area, i have a character you can use to walkaround, once you hit the hittest area, a movieclip will show, i also have a button that can also play the movieclip
now i got both work both the button and hittest. problem is when you walk over the hittest area the movieclip will show, once you leave the area the movieclip its still there, i want to be able to walk over(show movieclip), walk away, (movieclip dissapear), over and over
here is my code for the button
on (release) {
_root.gameup.gotoAndPlay(1)
}
and then on the hittest movieclip (for the guy to walk over) i have:
onClipEvent (enterFrame) {
if (this.hitTest(_root.Guy) && _root.gameup._currentframe==1) {
_root.gameup.gotoAndPlay(1);
}
}
to give you guys a better idea, here is my fla, pleazzz help
http://www.student.cofa.unsw.edu.au/…45/helpplz.fla
cheers