Hi i currently have a few checkboxes on the main stage in level 1 and i was wondering how i could set the button up so that if the first check box is select and the button pressed it sendAndLoads to a specific url, and if the second check box is selected it sendAndload to a different url and so on with each checkbox. I know that if multiple checkboxes are selected this would screw things up but i'm hoping to put an alert in there to catch this before submittion, these are teh buttons actions so far, as it currently submits all chechboxes to a given url.
on (press){
formdata= new loadvars( );
formdata.1a=1a.getvalue( );
formdata.1b=1b.getvalue( );
formdata.2a=2a.getvalue( );
formdata.2b=2b.getvalue( );
formdata.3a=3a.getvalue( );
formdata.3b=3b.getvalue( );
formdata.sendAndLoad("page.asp", dummy, "POST"
;
on (press){
formdata= new loadvars( );
formdata.1a=1a.getvalue( );
formdata.1b=1b.getvalue( );
formdata.2a=2a.getvalue( );
formdata.2b=2b.getvalue( );
formdata.3a=3a.getvalue( );
formdata.3b=3b.getvalue( );
formdata.sendAndLoad("page.asp", dummy, "POST"