My List

Sunday, March 18, 2007

[ActionScript] 動態文字遮罩

myMovieClip .setMask ( maskMovieClip )

myMovieClip : The instance name of a movie clip to be masked.
maskMovieClip : The instance name of a movie clip to be a mask.

The setMask method allows multiple-frame movie clips with complex, multilayered content to act as masks. You can shut masks on and off at runtime. However, you can't use the same mask for multiple maskees (which is possible by using mask layers). If you have device fonts in a masked movie clip, they are drawn but not masked. You can't set a movie clip to be its own mask, for example mc.setMask(mc) .

From: http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary566.html


No comments:

Post a Comment