A complex mask draws damaged shapes

I assign a mask to a simple MovieClip with a square bitmap. The mask is quite complex, drawn by the artist. The masked raster map looks right inside Flash CS5, but when I run SWF in Flash Player 10.2, the mask is damaged. Let me try to describe this:

The shape itself is mostly visible, but some scan lines (horizontal lines) of the resulting image "leak out" to the right of the mask shape, right up to the right border of the square raster image. Some lines are also missing. Here is the image:

enter image description here

The shape on the left is the mask used to split the bitmap that you can see on the right, in masks, with imperfections.

Are there any limitations we should know when using masks? Does flash use only simple forms to disguise?

+3
source share
2 answers

In the end, I just created a Pixel Bender shader filter to do this instead, because then you can just copy the alpha from the source pixel to the destination pixel and mix another texture with the original image as you see fit. Performance is not bad, as you can cache all this as a bitmap.

0
source

Have you tried to install both a mask and masked content in the form of bitmap images?

Flash CS5 Flash Player , , , , , - .

+3

All Articles