Paul Ferrie
08-27-2009, 01:27 PM
Hi Guys,
Quick question.
I am passing variables from a form to flash. Using the latest version of swfObject i am able to use:
var flashvars = {};
if(swfobject.getQueryParamValue("vs")){
flashvars.vs = swfobject.getQueryParamValue("vs");
}else{
flashvars.vs = "true";//Default
}
"vs" is set in a radio button group true/false
My question is how can i take the passed value on the form submitted to make sure when the page reloads the radio button group reflects that change. At present if i set to false and submit the form on page reload the radio button still says true.
Quick question.
I am passing variables from a form to flash. Using the latest version of swfObject i am able to use:
var flashvars = {};
if(swfobject.getQueryParamValue("vs")){
flashvars.vs = swfobject.getQueryParamValue("vs");
}else{
flashvars.vs = "true";//Default
}
"vs" is set in a radio button group true/false
My question is how can i take the passed value on the form submitted to make sure when the page reloads the radio button group reflects that change. At present if i set to false and submit the form on page reload the radio button still says true.