A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Radio Buttons

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    19
    I am creating a self-paced quiz in Flash that uses Radio buttons and scores points. I can't get Flash to understand which button is being selected, which should be the true option. How do I get Flash to respond or read the variables I set in my code. I feel like I am missing 1 or 2 simple steps.

    Thanks

  2. #2
    Alien Bob
    My spaceship's currently in for it's service...

    Join Date
    May 2000
    Location
    Orbiting the Earth just above Peterborough
    Posts
    346
    are you using radio buttons on the html page or inside the flash movie, using the form widgets?

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    19

    Radio Buttons

    I am creating these in Flash

  4. #4
    Junior Member
    Join Date
    Jan 2001
    Posts
    19

    Re: Radio Buttons

    How do I get Flash to recognize the variables that you assign. Here is my code:

    on (press) {
    if (<not set yet>) {
    score2 = +50;
    totalscore = score+score2;
    } else {
    totalscore = score;
    }
    }


    I can't get it to read the variables in the "if" statement. This code will score the points, whether or not you get the correct answer.


Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center