Hello,

I Believe it should be something like
 ourGroup.addEventListener("click", this);

with a function defined as:
        function click()
        {
        }
that does what you want to do.

--Carolyn

At 11:10 AM 1/25/2006, you wrote:
Hi folks,

I am creating a set of radio buttons and a radio button group in a
function, along these lines:

var ourgroup=cell2.createChild
(mx.controls.RadioButtonGroup,"rgroup_" + i,{});
cell2.createChild(mx.controls.RadioButton,"b1_" + i,
{label: '1',width: 25, groupName:"rgroup_" + i});
cell2.createChild(mx.controls.RadioButton,"b2_" + i,
{label: '2',width: 25, groupName:"rgroup_" + i});
cell2.createChild(mx.controls.RadioButton,"b3_" + i,
{label: '3',width: 25, groupName:"rgroup_" + i});
cell2.createChild(mx.controls.RadioButton,"b4_" + i,
{label: '4',width: 25, groupName:"rgroup_" + i});

What is the best way to specify a change handler function for the
radiobuttongroup? I cant seem to locate a good example of this.

Thanks,
Max





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS





Reply via email to