I did this by making a radio button MC with two frames bith with stop actions.  
When it is clicked I tell it to gotoAndStop(2) (frame 2) and tell the other 
radion button to gotoAndStop(1), therefore when you click one it becomes 
checked and the other becomes unchecked.  There may be a more elegant way but 
that worked great for me.  Victor 
----- Original Message ----- 
From: "Laurent CUCHET" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, September 28, 2006 2:27 PM
Subject: [Flashcoders] >> Check Problem


> 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
>
_______________________________________________
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