flash??

Out of context: Reply #1

  • Started
  • Last post
  • 1 Response
  • unfittoprint0

    If you mask the mc dinamically, everytime you load something into it it will lose its mask. You'll
    have to 'setmask' it again...
    hmm, try something like:

    reMask = function(){
    clearInterval(maskLoop)
    maskLoop = setInterval(function(){
    if (targetMC.getBytesLoaded() == targetMC.getBytesTotal() ){
    targetMC.setMask(maskMC);
    clearInterval(maskLoop);
    };
    },30);
    }

    //and then when calling load...

    targetMC.loadMovie("external.swf...
    reMask();

View thread