Hey all, in accordance with my new article writing regime, heres an article about a problem i came into contact with today.
I was working on a project for a client, i needed to have a watermark placed over an interactive area which used mouse events. Only the problem is that the watermark is a Movieclip (so i could use blend modes) which interferes with the underlying Movieclip’s mouse events.
So i fired up the livedocs and came across this handy inherited property for the MovieClip class “mouseEnabled”.
simply use the code below in you actions layer or class file and boom, the movieclip will no longer listen for mouse events nor stop Movieclips from behind it receiving them.
YourMovieClip.mouseEnabled = true;
Obviously where “YourMovieClip” place the instance name of your movieclip.
Stay cool
-Bill



