4134 posts Community Mod Building awesome stuff for your mobile devices!
  • Community Moderator
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
+9 more
Enabled Volunteer moderator says

Hey guys. I just cam across a nasty AS2 error. Here is my problem.

I have a movieclip that goes under a mask. A quarter of the movieclip remains visible the rest is hidden, trouble is that under that quarter of a movieclip, there are some rollover functions. When I rollover the quarter_container( let’s call it like that) the items under it ( the ones hidden by the mask ) start working… and they come up … how can I fix this problem? How can I make the quarter_container not clickable? In AS3 I would have used mouseChildren and mouseEnabled… but this is AS2 :(

Any help please?

1080 posts
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Has been a member for 6-7 years
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Interviewed on the Envato Notes blog
  • Referred between 500 and 999 users
+4 more
damojo says

Put a movieclip with a 0 opacity on top of the area you want to disable and give it a rollOver function with useHandCursor = false. This will disable the button actions below.

4134 posts Community Mod Building awesome stuff for your mobile devices!
  • Community Moderator
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
+9 more
Enabled Volunteer moderator says
Put a movieclip with a 0 opacity on top of the area you want to disable and give it a rollOver function with useHandCursor = false. This will disable the button actions below.

Good one. Trying it now! Thanks!

Edit: Wow… That solution was remarkably easy… I kept trying to find a substitute for the mouseChildren and mouseEnabled from AS3 . Thanks a lot damojo . Problem is solved!

Mods, if you wish, you can close this thread!

1955 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Netherlands
  • Referred between 10 and 49 users
  • Sold between 5 000 and 10 000 dollars
Emroni says
Mods, if you wish, you can close this thread!

Although Im happy you found your solution, keep in mind that others might be looking for the same thing. So dont ask to close a thread like this, could be useful to others ;)

4134 posts Community Mod Building awesome stuff for your mobile devices!
  • Community Moderator
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
+9 more
Enabled Volunteer moderator says
Mods, if you wish, you can close this thread!
Although Im happy you found your solution, keep in mind that others might be looking for the same thing. So dont ask to close a thread like this, could be useful to others ;)

Good point. Sorry for that I am used to ask for a lock if I get my reply to keep the topic going off topic. But good point! Sorry again.

by
by
by
by
by
by