Fancy Divider (with source)

Written by Venkat on December 20, 2007 – 8:36 pm

I am finally back with the source for the divider component. Take a look at it before you read any further.

The divider illustrates a couple of basic drawing concepts using the graphics class. It uses the following drawing methods.

  1. moveTo
  2. lineTo
  3. curveTo
  4. drawCircle
  5. beginFill/beginGradientFill
  6. drawRect/drawRoundedRect

Read the source if you want to know how to use these methods. I have included comments in the source where appropriate. Please leave a comment if you like it or have any suggestions/questions.

Posted under Flex Components | 5 Comments »