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

button components under mc are still clickable!!

Status
Not open for further replies.

QuantumDoja

Programmer
Jun 11, 2004
76
GB
Hi, I have a movieclip with some button componenets on them, each with click events, when i add another movieclip over the top of these buttons to hide them, if i click where the buttons are, i still get the click events...??? how do i make it so that the mouse will not go through to the next layer??

Regards

Chris

 
In the hiding movie clip, add an invisible button (the size of the movie clip or of the whole stage area...) on the lowest layer of the clip. This invisible button (with no script) should override the underlying buttons and keep them from being clickable...
You can also disable the hand cursor on that invisible button with...

my_invisbut.useHandCursor = false;

Regards. Affiliate Program - Web Hosting - Web Design
After 25,000 posts, banned on FK, but proud not to have bowed down to them!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top