4601 posts Community Mod Building awesome stuff for your mobile devices!
  • Contributed a blog post
  • Elite Author: Sold more than $75,000 on Envato Market
  • Helps us moderate the forums
  • Has sold $125,000+ on Envato Market
+15 more
Enabled 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?

1082 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 6 years
+9 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.

4601 posts Community Mod Building awesome stuff for your mobile devices!
  • Contributed a blog post
  • Elite Author: Sold more than $75,000 on Envato Market
  • Helps us moderate the forums
  • Has sold $125,000+ on Envato Market
+15 more
Enabled 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
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 ;)

4601 posts Community Mod Building awesome stuff for your mobile devices!
  • Contributed a blog post
  • Elite Author: Sold more than $75,000 on Envato Market
  • Helps us moderate the forums
  • Has sold $125,000+ on Envato Market
+15 more
Enabled 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by