setMask()

Out of context: Reply #14

  • Started
  • Last post
  • 14 Responses
  • unfittoprint0

    It's a poorly described issue.

    The setMask action will be disabled if you use loadMovie within the masked MC.

    2 solutions:

    #1. Create a setInterval that checks if the getBytesLoaded == getBytesTotal in your targetMC. If so, use setMask.

    #2 Less complex. Create an empty Movieclip [holder]. Use the setmask on it. Then create an empty movie clip [loadedMC] inside holderMC. You can use loadMovie in LoadedMC without worrying with setMask being disabled because it's its 'parent' being masked not it.

View thread