title: resizing effect on TitleWindow Flex
body: <p>I would like to know how I can add maximize and restore functionalities to a Flex TitleWindow.
  I used something like this 
  <code>&lt;s:Button label="maximize panel" click="Panel1.height = 300;Panel1.width = 300"/&gt;</code>
  <code>where Panel1 is the id for TitleWindow</code> but there was not effect for it.</p>
  
  <p>I would also like to know how to add buttons on the titlewindow title( so that I can include buttons for maximize and minimize).</p>