flash mask
flash mask
Out of context: Reply #6
- Started
- Last post
- 12 Responses
- unfittoprint0
to mask an imported [as in loaded] try one fo two things:
#1 check if the mc is completelly loaded as in mc.getBytesTotal() == mc.getBytesLoaded() and ONLY THEN use setMask();
or
#2 setMask the parent mc. ie:
var holder:MovieClip = this.createEmptyMovieClip("holde... this.getNextHighestDepth());
holder.setMask(mask);
var target:MovieClip = holder.createEmptyMovieClip("tar... 0);
target.loadMovie("movie.swf");