Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-14-2008, 08:20 AM   #1
adover
Member
 
Join Date: Mar 2007
Posts: 72
Default radio button component help, warning if none selected!

Hi,
I have had to make a quiz (one of several) which has questions and then 5 radio buttons per group for these questions. These give a scoring which I've assigned to variables and in turn listeners with scores ranging from -2 to 2, what i want is for (when the next button is pressed to move onto the next set of questions) if there is no radio button selected a warning to be produced and no advancement.

I've done this with other similar quizzes before but in thos the scores were from 1-5 so all I had to do was to come up with an if statement checking if the variables value is <1, this one I need to come up with either a null value or use some sort of listener to check if any of the radio buttons in the group have been selected.

Can anyone offer any advice on this? I'm pulling my hair out here!!
adover is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[AS3] Multiline label with radio button component? earthgri Components 0 08-04-2008 08:54 PM
Multilines Radio Button - Component Bidoup Components 1 06-18-2007 02:52 PM
Problem with Radio Button Groups in custom created component hari-kj Components 0 02-07-2006 08:28 AM
get the data of the radio button selected fou99004 Components 2 10-27-2005 08:19 PM
Help! radio button component. silverlunchbox ActionScript 1.0 (and below) 3 04-30-2003 04:23 AM


All times are GMT. The time now is 10:13 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.