<mx:ToggleButtonBar id="tbb" itemClick="tbb_itemClickHandler(event)" labelField="null" selectedIndex="-1" toggleOnClick="true"> <fx:Object icon="@Embed(source='assets/i_draw_line.png')" label="POLYLINE"/> <fx:Object icon="@Embed(source='assets/i_draw_freeline.png')" label="FREEHAND_POLYLINE"/> <fx:Object icon="@Embed(source='assets/i_draw_poly.png')" label="POLYGON"/> <fx:Object icon="@Embed(source='assets/i_draw_freepoly.png')" label="FREEHAND_POLYGON"/> <fx:Object icon="@Embed(source='assets/i_draw_rect.png')" label="EXTENT"/> <fx:Object icon="@Embed(source='assets/i_draw_circle.png')" label="CIRCLE"/> <fx:Object icon="@Embed(source='assets/i_draw_ellipse.png')" label="ELLIPSE"/> </mx:ToggleButtonBar>
Solved! Go to Solution.
<fx:Object icon="@Embed(source='assets/i_draw_line.png')" label="POLYLINE"/>