5 Replies Latest reply on Oct 16, 2009 1:55 PM by robdillon

    opacity mask in flash?

    lmaclanphere Level 1

      hi all

      is there such a thing as an opacity mask in flash?  (like the one in illustrator--or something similar?)

      thanks much

        • 1. Re: opacity mask in flash?
          robdillon Most Valuable Participant

          That depends on the thing that you want to mask and what the desired result will be. If you are working with a movieClip then you can use the Color Effect options in the Properties window. You can change the alpha, the tint or the color for any given movieClip. You can also use the Blending option to change the ink effect of any given movieClip. In Actionscript you can achieve the same results by using the Graphics class. You can also create a mask object and control that using Actionscript.

          • 2. Re: opacity mask in flash?
            lmaclanphere Level 1

            thanks Rob,

            I've attached an image of what I did in illustrator that I'd like to replicate (preferrably without scripting) in flash.  The concentric rings have an opacity mask applied, w/ a radial gradient.....

            Picture 1.png

            • 3. Re: opacity mask in flash?
              ~AMH~

              Hello,

               

              Once you create your circles, you can control their opacity using the Color Panel.  Change the Alpha setting to achieve the desired "opacity" on each of the circles.

               

              ~AMH~

              • 4. Re: opacity mask in flash?
                Vikas_Sharma

                You can create concentric circles in flash and after selecting them together as one shape apply radial gradient of black to black with the outer black having required transparency. That will be an easy way for that...

                1 person found this helpful
                • 5. Re: opacity mask in flash?
                  robdillon Most Valuable Participant

                  If you want to do this without actionscript then:

                   

                  1. Draw the concentric circles in a new movieClip.Use black as the color.

                  2. Select each circle individually and convert each circle to a movieClip.

                  3. Select each circle movieClip and set a new alpha value in the Properties window.

                  4. Use the movieClip that contains all of the circles on the stage. You can adjust the alpha of that movieClip to tune the look of the circles.

                  1 person found this helpful