Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Marcelo Volmaro
Thank you both... I found another way (not an elegant one, but it works): radioButton.onRelease(); Regards, On Thu, 30 Mar 2006 05:40:34 -0300, Aaron Smith <[EMAIL PROTECTED]> wrote: Sure its possible!!! Marcelo, here is a solution: put two radio buttons on the stage and call it rb1 / r

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Danny Kodicek
Get with the times... Cor, first you're talking bout Director, then I hear you're still using MX... Tsk... You're obviously not on the forefront of technology, huh? ;-) It's true. The problem is, I can't quite see the point of getting completely up to speed with AS2 when AS3 is just round the

RE: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Lee McColl-Sylvester
Sent: 30 March 2006 09:46 To: Flashcoders mailing list Subject: Re: [Flashcoders] Radiobutton - Dispatch event on code selected? Crap, I keep forgetting about Dispatchers. Apologies - been coding in MX too long. Danny - Original Message - From: "Aaron Smith" <[EMAIL PROTECTE

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Danny Kodicek
Crap, I keep forgetting about Dispatchers. Apologies - been coding in MX too long. Danny - Original Message - From: "Aaron Smith" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, March 30, 2006 9:40 AM Subject: Re: [Flashcoders] Radiobutto

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Aaron Smith
Sure its possible!!! Marcelo, here is a solution: put two radio buttons on the stage and call it rb1 / rb2. then in the actions layer put: import mx.controls.RadioButton; import mx.utils.Delegate; import mx.events.EventDispatcher; var dispatchEvent:Function; EventDispatcher.initialize(this)

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Danny Kodicek
>It´s possible to make the radio button dispatch the "click" event if i select it by code? Not directly, but you could add something like this (I haven't used the rb component for a while, but I think this would work radioButton.autoClick=function() { this.selected=true linkType_cml.setType()