Hey. I'm Kynia and I've been looking for some help with a problem I've come across in a game I'm making. Which you can click on the link here.
http://www.newgrounds.com/dump/item/f614d8af5be6146870b41dae50316cab
Basically, the problem is that when you click on an item and it appears in your inventory. Now when you leave to go to the other side of the room (the next frame) and then come back the (previous frame) items reset themselves. I'm looking for the simplest way to do this. Of course in that clip, I had newbishly was just using go to so and so frame in the movie clip to appear the item was gone.
I made this separate file to test out a code to see if I could get past this problem, so I could apply it to my game.
http://www.newgrounds.com/dump/item/757e04f0d08be34d0905759168fbb4c2 -Swf file
http://www.newgrounds.com/dump/item/53d6cd5b128cda3d6b7ef049f0615a6a -fla file
Though same problem though the coding I was using on a separate layer for the first frame is this.
stop();
pil._visible=false;
pil2.onpress=function(){
pil._visible=true;
pil2._visible=false;
}