This content has been marked as final. Show 5 replies
you can use the enabled property of you controls to enable and disable them.
There are a couple of ideas I can offer. One would be to have a function that enables/disables buttons. This can often be a handy device to control when game play is allowed. Another would be to make the "You Lost..." overlay a button that covers the entire stage (most of it being invisible to the eye). This would override being able to click on anything beneath it, and could also be used as a button to trigger playing over again.1 person found this helpful
Thank you for the reply.
The option of showing a large button is adaptable.
But my message is not just simple as I told. It will be like a message box with semitransparent background. It will not be covering the entire screen too. The game screen should be visible as background. So I think the button using as the input mask should be transparent.
Could you please let me know if you have any suggestions?
You can easily make the button mostly transparent. To do this, add a rectangle as big as the stage to the HIT frame of the button (the 4th frame). It will not be visible on the stage, but will cover it.1 person found this helpful
Thank you. I will try for that...