Checkbox component help

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(); = function(oEvent:Object):Void {
    if( = true) {
        trace("user agrees to the capture of their information");
    } else if( = false){
        trace("user disagrees with the capture of their information");

agreement_terms.addEventListener("click", agreement);

cheers in advance peeps :slight_smile: