1 Reply Latest reply on Sep 11, 2007 6:22 AM by clbeech

    gradient masking with motion tween problem

    vortons Level 1
      i am trying to reveal an image with gradient masks.

      1. i create an image layer, convert to movieclip, give an instance name "flower_maskee"
      2. i create a new layer with a radial gradient circle (0 alpha on one and, 100 alpha on the other), convert to movieclip, give an instance name "oval_mask1", create a motion tween so the mask appears smooth.
      3. same as above, but give an instance name "oval_mask2".
      4. add actionscript:

      flower_maskee.setMask(oval_mask);
      flower_maskee.setMask(oval_mask2);

      the first mask layer works fine, the second does not??

      fla link
        • 1. gradient masking with motion tween problem
          clbeech Level 3
          OK, your problem here was that you cannot assign more than one mask to a mc, you can change the assignment, but in this case you trying to change the look of the overall mask while retaining the previous section. I adjusted the way you had this set up, placing the transitioning circles inside single mask_mc. check out the structure of the mask, duplicate the layer stack structure to add more transitions.

          Here you go :) FLA FILE