Masking issue: Please Help!

Out of context: Reply #10

  • Started
  • Last post
  • 10 Responses
  • unfittoprint0

    you cannot mask and THEN load DIRECTLY content into the mc without losing the mask [ie. using setMask]

    what u should do is to create an holder inside the target and then load it instead:

    var image:MovieClip = this.createEmptyMovieClip("image... this.getNextHighestDepth());

    var mask:MovieClip 0 this.attachMovie("mask","mask", this.getNextHighestDepth());

    image.setMask(myMask);

    var img:MovieClip = image.createEmptyMovieClip("imag... image.getNextHighestDepth());

    img.loadMovie("stuff.jpg");

View thread