There is 2 checkbox, cb1 and cb2

Is it possible to make one selected and the other unselcted like radiobutton
? 
How can I do ?

Thank s a lot

//1
function checkbox_1(evt1:Object) {
    if (evt1.checkbox.selected) {
        typ_txt.text = "choice1";
    }
}
cb1.addEventListener("click", checkbox_1);
//2
function checkbox_2(evt2:Object) {
    if (evt2.checkbox.selected) {
        typ_txt.text = "choice2";
    }
}
cb2.addEventListener("click", checkbox_2);
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to