I am stuck with my Flash game. I need the syntax in action script for the below logic. My game is pretty large and complex to explain and I will explain you a quick simple example.
I have 2 buttons. First one is button1 and the Second one is button2. When I click on button1 there should be a guess and response your guess is right or wrong. It's just a random guess function to say my guess is right or wrong. There are only 2 buttons either button1 or button2 should be correct as per instance.
Can anyone tell me the syntax in action script to check the random guess?
Thanks in advance.
If I understood your question correctly this should work:
}