Panel mouse down effect
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Resize id="myResize" heightTo="300" hideChildrenTargets="{[panelOne, panelTwo]}" /> <mx:HBox> <mx:Panel id="panelOne" mouseDownEffect="{myResize}"> <mx:Button /> </mx:Panel> <mx:Panel id="panelTwo" mouseDownEffect="{myResize}"> <mx:Button /> </mx:Panel> <mx:Panel id="panelThree" mouseDownEffect="{myResize}"> <mx:Button /> </mx:Panel> </mx:HBox> </mx:Application>