Change button alpha value when clicking the button : 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 
Change button alpha value when clicking the button
Change button alpha value when clicking the button
          

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

    <mx:Button id="button" label="Alpha Button" click="button.alpha -= .1" />
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Set alpha for controlSet alpha for control
2.Change alpha when creation completedChange alpha when creation completed
3.Fade Behaviours alpha value and durationFade Behaviours alpha value and duration
4.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.
5.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
6.Change alpha value for CanvasChange alpha value for Canvas
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.