1 Reply Latest reply on Oct 19, 2006 2:05 AM by DazFaz

    Dynamic message trouble

    mpwalker
      I'm new to ActionScript and I'm trying to build a simple adventure game engine. I'm basically trying to use a dynamic text box to display different messages when the player investigates something using the spacebar. For instance, I'd like to make so that if if the character is touching a door and presses the space bar, a message pops up in the dyn text saying the door is locked. I need the messge to disappear from the screen whenever the character moves any direction, only to reappear if character is touching the door and presses spacebar again. Does anyone know how to go about doing this? This is all of the code I have at the moment on the door. Any help would be much appreciated!