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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

actionscript for changing alpha

Status
Not open for further replies.

TaiChi56

Technical User
Mar 6, 2002
188
US
Sorry guys,
I usually read your FAQ, but I am in a bind. I need to get a button to work changing alphas. I have a button that when clicked it shows a blue arrow pointing to a graph. What I want to do is when I click another button to show a different arrow, I want the other original blue arrow to disappear, thus not showing that graph. I hope this makes since.

So something like, on click alpha is 100%, on click of a different button the other button's alpha goes to 0% The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
on (release){
blue._visible=true;
}

button2

on (release){
blue._visible=false;
}
blue the instance name of the button
 
I never knew that existed (_visible)! You can also use _alpha and set it to 0 or 50 or whatever you want.

B
 
Excellent, sorry it took so long to get back to you guys. It worked. Thanks. The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top