View Full Version : Focussable Panel Closebutton?

02-07-2009, 07:46 AM

I've wrote a popup Panel that can be minimized/maximized by clicking on it's titlebar or an optional close-button. Now I'd like the close button to be focussable with the tab key but there seems to be no easy way to do that.

Here's an example of how it looks ... http://files.hexagonstar.com/swf/PopUpPanelTest.swf

Would be great if somebody knows how to make the close button tab-focussable. The close button is an ordinary mx.controls.Button added to Panel.titlebar.

PS: Source file is here: http://files.hexagonstar.com/swf/PopUpPanel.as

06-03-2009, 12:40 PM
hey, have you tried using the TitleWindow component instead?