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!

On mouse release Invisible? - URGENT 1

Status
Not open for further replies.

tonyngu

Programmer
Dec 17, 2000
15
MY
Hello,

How do you set the visibility of the button ITSELF to false when you release the mouse click on it. So meaning the button will be clicked only once.
Thanks for any tips!


Regards,
Tony
 
The only way I have found to do this... Is to have your button inside a movie clip. When setting the visibility of that movie clip to false, the button becomes inactive. It in fact it dissapears completely. I have laid another movie clip (in fact a copy of the first one) for the disabled state. The visibility to that one is set to false when starting the movie. When you click the button it sets the visibility of the mask to true and the visibility of the button movie to false.
The enable button does the reverse!


If you want to download the fla:



Now my question is: Will my star be visible on this one!

;-) "If nothing else, I can always serve as a bad example!”
 
Hello oldnewbie,

Thanks for you tips! =)

Regards,
Tony

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top