View Full Version : unCheck a Checkbox in Flash

05-13-2008, 04:23 PM
I have a small form, and I have a reset button, it clears the textfields... But I can't get it to uncheck the checkboxes... I have tried all combinations, setting the instance name, setting the myVariable name of the component, but it doesn't seem to work...

on (release)

contactName = "";
contactPhone = "";
contactEmail = "";
check1 = "0";
myCheck = "0";
myCheck = 0;

05-13-2008, 06:02 PM
Should be able to set it as a boolean instead of as a value like this

myCheck = false;

05-14-2008, 02:29 AM
Hmmmm that didn't work either

05-14-2008, 03:04 AM
_root.mycheck.selected = false;
Of course the path would depend on where its at in the flash.

You can use the Insert Target Path button 3rd one from the left in actionscript panel to insert the target of the checkbox.