flash – as2 setmask

you write on action script 2 ?

you dont know how to do set mask on code behind, here a simple way to do that:

you need to create a new movie clip

now you need to take the object that need to be in the mask and write setMask function that get the Movie Clip you just created.

for example with code go here:

Flash mask movieclip as2 masking setMask code
Flash
This tutorial show you how to append mask to set of movie clips. Create new movie clip. Name it Container_Mask and set Linkage Container_Mask_Linkage. Set the size of your mask. Append Mask Container to scene and set mask.

 

כתיבת תגובה