Hello people,
The problem is when background of top or below label is changed, the top or below button is erased.
<mx:Canvas width="100%" height="100%">
<mx:LinkButton icon="{icon1}" width="25" x="10" y="10"/>
<mx:LinkButton icon="{icon2}" width="25" x="10" y="100" />
<s:VGroup width="100%" height="100%" id="lst" click="highlight(event.target as Label)" gap="0">
<s:Label />
<s:Label />
<s:Label selected="true" />
<s:Label />
<s:Label creationComplete="fillList()"/>
</s:VGroup>
</mx:Canvas>
private function highlight(label:Label):void {
setStyle("backgroundColor", "#DDDDDD");
}
So do anyone know the possible solution for this problem?