|
-
[RESOLVED] Buttons in MovieClip Don't Work
I'm trying to make a game and, when you encounter enemies or go into a building, your x and y coordinates are recorded as variables and then loaded when you exit. I was trying to make this happen using hitTest but couldn't get it to work, so I am now trying to make a menu appear with buttons, such as "Enter" or "Leave" and "Fight" or "Run".
Problem with this is that i can't get the menu to appear only when the character hitTests an enemy or door, it is constantly there. I tried resolving this by making the menu a movieclip with 2 frames, one empty and one with the movie, this makes the menu appear on collision, but the button does not work properly. I also tried using the alpha values, but the button remains in the middle of the screen invisible.
So basically I am asking for suggestions on how to solve this problem and if you need more specific information just ask
(BTW using Flash 8 but would like to keep it compatible with Flash MX)
(I have another problem to be solved as well but it's not that major, yet)
Thanks.
Last edited by Work!; 09-27-2008 at 07:45 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|