Manage selectionChanging event and call event.preventDefault(). See [1] for details.
[1] http://help.adobe.com/it_IT/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ListBase.html#event:changing 2013/11/12 <[email protected]> > When a user selects a new tab in a spark tabbar, I want to inspect some > variables in the app and, based on that, decide whether to allow the tab to > change. > > Anyone know how to intercept the user's click on the tabbar, then prevent > the tab from changing? >
