ArrayCollection as ToggleButtonBar
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:ToggleButtonBar>
<mx:ArrayCollection>
<mx:Array>
<mx:Object label="A" />
<mx:Object label="B" />
<mx:Object label="C" />
<mx:Object label="D" />
</mx:Array>
</mx:ArrayCollection>
</mx:ToggleButtonBar>
</mx:Application>
Related examples in the same category