Groups | Blog | Home
all groups > macromedia flash sitedesign > march 2005 >

macromedia flash sitedesign : How to do check boxes help needed!!


rustler2001
3/4/2005 10:31:14 AM
Hi can anyone help me at all, I have done a form in flash which allows the end
user, to fill in name, email address etc etc. when submitted goes to a php
form, and thus emails the details to me. Problem is i need to put in a check
box or radio button, as i want to end user to click a category they are coming
from, but dont know how to parse that information. Can anyone help me, as i
have asked this question before, with not one person answering, I am starting
to think that it cant be done. The fla file is here, if you need to look at it:
www.se7enthheaven.co.uk/flash/form_test.zip Thanks for your help in advance.
Rustler
Sivakanesh
3/4/2005 1:59:15 PM
Which one are you after, checkbox or radiobutton. Radio button will only allow
you to select one from a group of them and for check box you can select a many
from a group.

So say you you want to know if a check box named 'test_cb' is ticked or not.
You would say 'test_cb.selected'. This would either say true (for ticked) or
false (not ticked). If you have more than one check box you need to do this
for each one.

On the other hand if you had a group of radio buttons, you have to setup their
groupname and data parameters. And then get the value of the radiobutton to
find out which one was selected. Hopefully this helps.
AddThis Social Bookmark Button