AdvancedTitleWindow Component (Adobe Flex 3)

This com­po­nent extends the default TitleWin­dow com­po­nent and add two very use­ful fea­tures which make the con­tainer resize able and mov­able. The AdvancedTi­tleWin­dow can be moved using the mouse drag on the title­Bar and it can be resized using the mouse drag on the bot­tom right region.

Code:

<containers:AdvancedTitleWindow width="400" height="300"/>

Screen­shot:
 AdvancedTitleWindow

What’s next?
– Dock­ing
– Min­i­mize, Max­i­mize options
– Selec­table style patterns

Demo | Source code


  1. Percy says:

    Hello, I tried using your code for AdvancedTi­tleWin­dow with Pop­Up­Man­ager, and it worked great! The first time the appli­ca­tion popped it up…Any addi­tional times it was popped up, I would get a null pointer error for the par­ent variable.

    I cre­ated the ATW using the PopUpManager.createPopUp() method, and removed using PopUpManager.removePopUp() method…

    Any help would be greatly appreciated…

  2. Nathan says:

    In resizePanel, I would rec­om­mend using min­Height and min­Width so that a user doesn’t have to over­ride or hard code val­ues in this base class.

  3. Jloa says:

    Hm… And where are the min­i­mize, max­i­mize options?

Leave a Reply