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

how to refer to a button property using action script

Status
Not open for further replies.

WC

Programmer
Sep 19, 2001
9
SG
i'm a newbird in flash5 and i'm try to set the poperty of a button using action script, but i juz dun know how to refer to the button as refer to a movie clip as the has name property by a button dun so pls if any one know pls help me


WC
thank to those who reply to this help
 
You can't refer or change a button's properties!
You put your button in a movie clip, and refer to that movie clip's instance name as:

buttonmovieclip._x = 150;
buttonmovieclip._alpha= 50;
buttonmovieclip._visible= false;
Etc...Etc...

Regards,
wink4.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top