mask and cacheAsBitmap/blurFilters, etc.

When its cacheAsBitmap property is set to true either explicitly or implicitly (for example when applied to a blurFilter, etc.), a displayObject with a mask applied to it won’t receive any mouse click event.

If cacheAsBitmap = true was invoked by applying a bitmap filter, to set cacheAsBitmap back to false, use this:

filters = null;

Attempt to directly set the property back to false won’t work:

this.cacheAsBitmap = false;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: