Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  • Thread Tools
  • Rate This Thread
  1. #1
    New to the CF scene
    Join Date
    Aug 2015
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to... make a button visible after an event.

    Hi!

    I'm working on a quiz-type drag and drop game where the user is required to drag a number of items into target locations, and then they will receive a total score at the end.

    I'm trying to figure out how to make a "check answer" button appear after the user has dragged all the items to the target. Once the check answer button has been clicked the flash will go to the next frame which will reveal the score.

    Does anyone know any Actionscript code snippets which will make a button appear after a certain set of events has been completed?

    I'm using Flash CC 2015 with ActionScript 3.0

    THANK YOU SO MUCH FOR YOUR HELP!!!!

  2. #2
    New Coder
    Join Date
    Oct 2015
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I developed one Simple app, which contains one textview.and my problem is that I want visible in invisible this text view on button click event.

    At loadtime I do this

    myTextView.setVisible(View.GONE);
    and after this at Button Click event, I do this.

    myTextView.setVisible(View.VISIBLE);
    The textview is visible but it is overlap on below TextView means myTextView cannot contain space. So what can I do now?


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •