Announcement

Collapse
No announcement yet.

Room Escape

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Room Escape

    How you can make it so that when you pick up a object (let's say for example a key), and then it disappears? I can make it so that it disappears, but when going to another frame and back to the same, it comes back... I guess you need some actionscript for that. Can anyone help me?

  • #2
    hmm i need the same help ive been trying to make a room called the red room but i cant make it click the key or anythin its just like a picture
    i am.....

    bat cat mateys: george147, escapegirl, darknight ,
    mystery, Becky, onebun, lilliput , lili, jenni, electrogirl, mitty and doglover!jcatlz101 if youwant to be my matey just talk to me

    oh and....
    my best riddle: www.freewebs.com/testriddle/1st to finish: no one yet!

    Comment


    • #3
      hmm, just make the key a movie clip. Drag it into the stage, and give it an unique name where it says instance name. For example mc_key.

      Now open the actions tab for the frame and use this code:

      mc_key.onPress = function() {

      //you have two options:
      mc_key._alpha = 0; //will make it transparent, but still clickable

      //or:
      removeMovieClip("mc_key");//will remove it from the stage...better choice

      //and a side note, you can always just move it around using:
      mc_key._x = ..
      mc_key._y = ..
      }

      Hope this helps, my first post

      Comment

      Working...
      X