I have an item renderer with an HBox with the scroll bar showing.
开发者_运维问答Because the scroll bar is in the ItemRenderer of a TileList when a user drags the slider it triggers the click event on the TiLeList. Is there anyway to maybe stopPropogation of the events on the scroll bar only?Adding a click handler like this for the HBox should work:
private function hbox_clickHandler(event:MouseEvent):void
{
if(event.target.parent is ScrollBar)
event.stopPropagation();
}
精彩评论