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?
Announcement
Collapse
No announcement yet.
Room Escape
Collapse
X
-
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 picturei am.....
official karcat for the loony bin!
bat cat mateys:george147, escapegirl, darknight ,
mystery, Becky, onebun, lilliput , lili, jenni, electrogirl, mitty and doglover!jcatlz101if youwant to be my matey just talk to me
oh and....
clicking spoilers is fun
-
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
Comment