title: flex: how to Make two resize effect at the same time
body: <p>Hy,</p>
  
  <p>Is it possible to resize the application at the same moment when the Accordion size change, to make effect resize og the last one synchronised with resize of Application ?</p>
  
  <p>In my code,, the Application is resized after the resize of Accordion is completed:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                  layout="absolute" minWidth="400" minHeight="300" backgroundColor="white" horizontalScrollPolicy="off" verticalScrollPolicy="off" mouseDown="stage.nativeWindow.startMove()"&gt;
  
  
  
      &lt;mx:Resize id="expand" target="{application}" heightTo="{acc01.height}"/&gt;
      &lt;mx:Accordion id="acc01" x="0" y="0" resizeToContent="true" resize="expand.play();" horizontalScrollPolicy="off" verticalScrollPolicy="off"&gt;
          &lt;mx:VBox label="Accordion Pane 1" width="100%" height="100%"&gt;            
              &lt;mx:Label text="hello"/&gt;
              &lt;mx:Label text="hello"/&gt;
              &lt;mx:Label text="hello"/&gt;
              &lt;mx:Label text="hello"/&gt;
          &lt;/mx:VBox&gt;
          &lt;mx:VBox label="Panel 2" width="100%" height="100%"&gt;
              &lt;mx:Label text="hello"/&gt;
              &lt;mx:Label text="hello"/&gt;
          &lt;/mx:VBox&gt;
          &lt;mx:VBox label="Panel 3" width="100%" height="100%"&gt;
                 &lt;mx:Label text="hello"/&gt;
              &lt;mx:Label text="hello"/&gt;
          &lt;/mx:VBox&gt;
          &lt;mx:VBox label="Panel 4" width="100%" height="100%"&gt;
                 &lt;mx:Label text="hello"/&gt;
              &lt;mx:Label text="hello"/&gt;
          &lt;/mx:VBox&gt;
      &lt;/mx:Accordion&gt;
  &lt;/mx:Application&gt;
  </code></pre>