Creating gradient lines and fills

Ever wanted to create a gradient fill or experiment with the various settings in the beginGradientFill method?

I was trying to recreate a simple black background which faded in the middle to a white shade then back to black again and I spent quite a while  trying various options, recompile, test, try more options etc.  This was taking way to long so I created a very quick explorer for the beginGradientFill method.

Hopefully you’ll find it as useful as I did for finding out exactly what values need to change to get a desired result.

Gradient Explorer image

Click to open fill explorer

This entry was posted in Flex and tagged , , , . Bookmark the permalink.

One Response to Creating gradient lines and fills

  1. Pankaj says:

    This is perfect and pretty neat tool for visualizing the gradient.

Leave a Reply

Your email address will not be published. Required fields are marked *


Comment moderation is enabled. Your comment may take some time to appear.