Tuesday, August 11, 2009

setMask in Flash

Set Mask

bg1.setMask(mask1);

1. bg1: The Instant name for MovieClip to be masked
2. mask1: the name of the mask

*All must be in movieClip



Set Mouse to Mask

startDrag(mask1, true);
Mouse.hide();

mask1: the name of the mask

*must combine with the Set Mask code.

No comments:

Post a Comment