Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing Alpha Programatically...

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
How can I change the Alpha value of an MC programattically?...I have some text on a page also that when I click the button, I want the text to go away...but still be there to fade in when I need it again.
 
First, if you're going to continue to ask all these questions, you should register as a member, it's free!

You probably could use something like this in a loop:

setProperty ("text1", _alpha, "alpha%");

Or simply control, through targeting, your mc with tweening fade in & hold & fade out already built in.

Or even, if you have a neutral background, just add a tweening masking rectangle (of the same color as the background), covering (hiding your text) or uncovering it as you wish!

;-)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top