Set alpha for control : alpha « Effects « 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 » Effects » alphaScreenshots 
Set alpha for control
Set alpha for control
         

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

    <mx:Script>
        
            import mx.events.EffectEvent;

            private function effectEndHandler(event:EffectEvent):void {
                vbox.alpha = 1;
            }

      
    </mx:Script>

    <mx:Move id="moveEffect" xFrom="100" effectEnd="effectEndHandler(event)" />
    <mx:VBox id="vbox" alpha=".5" creationCompleteEffect="{moveEffect}">
        <mx:TextInput id="textInput1" />
        <mx:TextInput id="textInput2" />
        <mx:TextInput id="textInput3" />
        <mx:TextInput id="textInput4" />
    </mx:VBox>

</mx:Application>

   
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Change alpha when creation completedChange alpha when creation completed
2.Fade Behaviours alpha value and durationFade Behaviours alpha value and duration
3.change the width, color, and alpha of the axis line with the tag.change the width, color, and alpha of the axis line with the <mx:axisStroke> tag.
4.alpha is short for alpha channel, and it is a number from 0 to 1 that controls how transparencyalpha is short for alpha channel, and it is a number from 0 to 1 that controls how transparency
5.Change alpha value for CanvasChange alpha value for Canvas
6.Change button alpha value when clicking the buttonChange button alpha value when clicking the button
w__w__w.__j___av__a2_s___.__c__o___m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.