Sliding a panel in and out when the button is clicked : Panel Style « Container « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Container » Panel StyleScreenshots 
Sliding a panel in and out when the button is clicked
Sliding a panel in and out when the button is clicked
           
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    backgroundColor="white">
    <mx:WipeLeft id="wipeleft" />
    <mx:WipeRight id="wiperight" />
    <mx:Panel id="myPanel" label="Wipe Me" showEffect="{wipeleft}"
        hideEffect="{wiperight}" />
    <mx:Button label="Toggle the Panel"
        click="myPanel.visible=!myPanel.visible" />
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.A opaque panelA opaque panel
2.Panel TransparencyPanel Transparency
3.Floating panelFloating panel
4.Panel CornersPanel Corners
5.A transparent panelA transparent panel
6.Use SetStyle to change panel style valueUse SetStyle to change panel style value
7.Set paddingTop, paddingBottom, paddingLeft, paddingRight for PanelSet paddingTop, paddingBottom, paddingLeft, paddingRight for Panel
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.