Button._alpha Property

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
Button._alpha Property Flash 6

opacity percentage: 0 is transparent; 100 is opaque read/write
theButton._alpha

Description

The floating-point _alpha property specifies the opacity (or, conversely, the transparency) of theButton as a percentage 0 is completely transparent, whereas 100 is completely opaque. All states (Up, Over, and Down) of theButton are affected.

Example

The following code makes go_btn 50% transparent.

go_btn._alpha = 50;

See Also

Button._visible, MovieClip._alpha



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net