Masking mayhem

i have to movies on my stage and i used the following code to get a masking effect. the problem is im not seeing anything when i preview the movie.

image.setMask(mask);

The code was correct, so I tried filling the border in the mask movieclip and bam, it worked. It seems that the border was too thin to be set as a mask or something. I hope this is what you wanted.

If you just want the border, highlight the lines and go to Modify>Shape>Convert Lines to Fills.

Hey, that’s useful Kax =) Question:
You can only set fills as mask using setMask ?

what i wanted was to have the yellow border around the image showing.

  • worm
    See attachment.

  • Voetsjoeba
    Yeah, I think so. :-\

thanke mang. but it makes no sense u fixed the problem without explainin what u did exactly. so…uhm…could u tell me what u did exactly. thanx alot.

It seemed pretty obvious to me, sorry.

I just inserted a new layer and placed the outline on it. :stuck_out_tongue:
quickEDIT. I forgot something… I also filled the rectangle in the mask MovieClip.

oh thanx.

No problem. :wink: