3 Replies Latest reply on Aug 21, 2008 8:16 AM by MATTANDIE

    Complex gradients

    Paevo Kelley Level 2
      I am creating a banner image with a series of complex gradients and a kind of roving masking effect playing around with alpha levels. I notice that Flash CS3 only includes the radial and linear option, which is rather anoying.... Anyway, ought I create the gradient as a single bitmap file in Fireworks, or create it directly in Flash? I have read here that complex gradients in Action Script can slow performance, which of course I want to avoid...
        • 1. Complex gradients
          MATTANDIE Level 1
          I just did some testing on something similar to this today using cacheAsBitmap. I would suggest trying it first in Flash if you feel up to it. Then if you still dont like the performance results look at using another option.

          Drawing directly in Flash is how I was getting the best performance.


          m.
          • 2. Re: Complex gradients
            DLMAES Level 1
            I agree with Mattandie, you're better off bringing complex gradients in as an image, I've tried bringing complex gradient meshes in from Illustrator and you don't get the best results...
            • 3. Re: Complex gradients
              MATTANDIE Level 1
              Illustrator imports graphics as multiple groups. If you take the time to break up those groups into one solid shape (complex or not) it can greatly improve performance, sometimes to the point where you see no difference between using cacheAsBitmap and not using it. You just have to pay attention when you break them up because sometimes some of the points can get lost.



              m.