Jump to content
  • Advertisement
Sign in to follow this  
DutchValiance

Frame Button Problems

This topic is 3533 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, for instance: i have a button that takes me from frame 1 to frame 2 (this works correctly) however, now i have a button on frame 2 to take me to frame 3. (it doesn't recognize i hit the button) Does any1 have any helpful tips on how to create the listener for the buttons on frame 2? thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
i am using a simple

public boolean action (Event e, Object o)
{
if (e.target instanceof Button)
{
if (e.target == cont)
{
hide ();
menu.setVisible (true);
}
}
return true;
}

when i run it i get no errors and the buttons show up so init'ing it is not the problem

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!