onClipEvent (load) {
if (this.hitTest (_root.door)) {
_root.gotoAndStop (3);
}
}Whenever the player hits the door, nothing happens. I checked the Instance Name isn't misspelt, and the coding isn't misspelt either, so can anyone help?
onClipEvent (load) {
if (this.hitTest (_root.door)) {
_root.gotoAndStop (3);
}
}onClipEvent(enterFrame){
if(_root.DOOR NAME.hitTest(_root.PLAYER NAME)){
_root.gotoAndStop(FRAME NUMBER);
}
}
Quote from ChimaeraFixed:
Quote from darkcampaingerChange "onClipEvent (load)" to "onClipEvent (enterFrame)"