Would this work for you?

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> " layout="absolute">
  <mx:Panel x="19" y="29" width="616" layout="absolute" id="mom"
title="Mom (parent panel)">
   <mx:Panel id="toddler" x="16.5" y="172" width="563" height="100"
layout="absolute" title="Toddler (child panel)"
resize="mom.height=toddler.height+222">
   </mx:Panel>
   <mx:Button x="514" y="142" label="Close" click="toddler.height=0"/>
   <mx:Button x="414" y="142" label="Open" click="toddler.height=100"/>
  </mx:Panel>
</mx:Application>

--- In flexcoders@yahoogroups.com, "zzwi89" <[EMAIL PROTECTED]> wrote:
>
> I have a panel that needs to resize vertically when child panels are
> minimized/maximized. This works until I set layout = absolute. I would
> like to use absolute layout so that I can use parameters like
> top/left/right/bottom for its child panels.
>
> Is there a way to do this?
>


Reply via email to