In your Title Window or Panel component write the below function...
override protected function createChildren():void
var lnkButton:LinkButton = new LinkButton();
lnkButton.label = "Your Link Button";
lnkButton.width = 100;
lnkButton.height = 25;
I tried your code, but it does not work in my app.
I tried to convert the title label to a linkbutton from skin of titlewindow, but I couldnt do it.
Then I tried to add just click events to the <s:Label id="titleDisplay" maxDisplayedLines="1" ... /> in the skin of titlewindow. but I cannot listen for the events.
Do you have any idea?
For the title window I found that moveArea group hamperes the label to listen mouse events. So I disable that, since I do not use it.
and now I can listen for mouse events from titleDisplay