Looks like intended behaviour, and the bug is in the documentation. From
Button.as:
/**
* @private
*/
public function set selected(value:Boolean):void
{
selectedSet = true;
setSelected(value, true);
}
mx_internal function setSelected(value:Boolean,
isProgrammatic:Boolean = false):void
{
if (_selected != value)
{
_selected = value;
invalidateDisplayList();
if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
{
if (toggle)
dispatchEvent(new Event(Event.CHANGE));
}
else
{
if (toggle && !isProgrammatic)
dispatchEvent(new Event(Event.CHANGE));
}
dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
}
}
On Thu, Jun 26, 2008 at 2:45 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
> I'd say it is a bug. Why are you listening to each button instead of the
> group?
>
>
>
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]