Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with forms

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
can i use check boxes with flash to use them in a form ?
 
You'll have to make your own checkbox or use the smartclips in the common library but, yes, no reason why you can't build a form with those type of elements.

If you want to build your own then all you need is a two frame movieclip that uses a button to switch between a frame with the box empty and one with the check in it. ou can use the same button to set a variable to true or false and send that value to the form handling script on your server.
 
Try this :

Code:
on (press) {
    if (foo == "bar") {
        foo = "echo";
        checkbox.gotoAndStop(2);
    } else if (foo == "echo") {
        foo = "bar";
        checkbox.gotoAndStop(1);
    }
}
Regards

Big Dave

davidbyng@hotmail.com

 
does anyone has an example of that ?
i can´t seem to be able to use the smart clips ... it´s the first time i am trying to use this and it is not workig ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top