Im trying to pass values to a php.
My problem is when I try to pass the value (true / false) of a checkbox. Its set to be false by default but the thing is that I have not found the way to pass the “selected” status to my php.
I have the ckbx inside a movieclip and on a button press I pass the variables (loadVariables) from the movieclip to php (POST)
I would like to know how to obtain the current status of the ckbx and pass it to a variable in Flash to send it to php (the last i know how to do)
I tried using if(check1.selected == true) but it does not work
I do not have much experience in AS so i would appreciate a detail answered
thanks
so that you get the code
one button called submit - does the obvious
check1 - instance name for the checkbox component
ck1 - instance name for the var (dyn txt) i am using to get the value