hey all,
when i click on my checkbox component it selects but i am unable to deselect when clicked again for some reason??
this is the code i have relating to it it may have something to do with it? here is the code:
var agreement:Object = new Object();
agreement.click = function(oEvent:Object):Void {
if(oEvent.target.selected = true) {
trace("user agrees to the capture of their information");
} else if(oEvent.target.selected = false){
trace("user disagrees with the capture of their information");
}
};
agreement_terms.addEventListener("click", agreement);
cheers in advance peeps