Disappearing movie clip
Hello there once again,
I've juat about had it, haha.
Here's the situation. I have a simple drag and drop game which consists of a scale and multiple rocks that you can place on either side of the scale. If you get the rock placed on the correct side the first time, you get ten points, which is reflected in a dynamic text box in the upper right hand corner. If you get it wrong, you get zero poitns even if you get it correct the second time. That all works fine. These rocks are also double-click-able and when you do that it will bring up some information about that rock. You can close that window and then go about your business. That works fine as well.
Well recently I added an instructions button into the mix (just in case you want to see the instructions from the beginning again) and it follows the same sort of logic as opening the window when you double-click on a rock. Only with this, it is just with a click. I get to the window just fine, shows the instructions and everything. Then I close it, that works fine too. Then the really interesting thing is, when I go to place another rock and when it is placed correctly, the score disappears. It just vanishes. This doesn't happen if I'm looking at the info of the rocks and then continue to play the game. It's only after viewing the instructions and closing it out.
A little more specific info:
Click instructions. Window pops up. Score is still visible behind the window.
Close Window. Score is still visible.
Move a rock and place it just somewhere random. Score is still visible.
Place rock on the incorrect side. Score is still visible.
Place rock on the correct side. Score disappears.
I have not "...visible = false;" statements anywhere in my code.
I do have multiple "...visible = true;" statements in my code in a lame attempt at debugging this.
By the way, the "..." that I just used above, I'm meaning the stuff that comes before it. I'm not actually using "...visible = true;" in my code.
I have no idea why this is happening. I have tried everything that I can think of. I even had someone else look at it and he couldn't think of what to do.
Hopefully you guys can help shed some light on this. Any help would be appreciated.
I would attacha file with the necessary folders and what not, but it doesn't look like I can do that through here.
Any ideas?
Thanks for any help!
---EDIT---
It is still adding scores correctly. I did a trace on the text and it stilla adds up the scores correctly. This leads me to believe that it is still there. Just not visible. Hmmmm....
---END EDIT---
Message was edited by: linkian19