38 Replies Latest reply on Aug 24, 2008 9:11 AM by kglad

    cacheAsBitmap doesn't work in movieClip

    kalibahlu Level 1
      Hello,
      I'm using a gradient flash shape as a mask, and it works fine until I nest it in a comp, then it doesn't work anymore. Here how my code structured:

      movieClipName_mc.clipToBeMasked_mc.cacheAsBitmap = true;
      movieClipName_mc.mask_mc_mc.cacheAsBitmap = true;
      movieClipName_mc.clipToBeMasked_mc.setMask(mask_mc);

      Does anyone know what might be the problem? Thank you for your help in advance!