• Hello there! Welcome to our first exciting issue of Show and Tell!

    First things first, I credit inspiration for the creation of this article to our fellow blogger of the community at www.somerandomdude.net ( google-cached link here). This particular article provided a great means for expediting the process of what I am currently working on. Before stumbling upon this, I had thought at first to maybe tackle this as an Effect and EffectInstance class pair. However, the more I thought about this, it started to make more sense to me to create as a stand alone UIComponent.

    In return, I’ve been meaning to do a “Show and Tell” for taking this Animated Gradient control a little further and so here it is ^_^

    Here are the following features that are offered in this package:

    • Subclassed from UIComponent, hence you can choose to use directly in markup or via “AddChild”
    • Animate gradient fillColors
    • Animate gradient ratios
    • Animate gradient angles
    • Specify gradient attributes as style attributes and/or through a metadata class
    • Specify the number of tween frames to animate as “durationSteps”
    • Click here to open in a new window.
      Click here to download the source code.

      Here are few suggestions you might want to try this against:

      • Use as part of an application’s background and trigger an animation on the gradient from a UI transition
      • Use as a mask for other controls. i.e. try simulating a metallic/shining effect over a Label for cool text effects
      • If you have any questions and/or comments, by all means, please ask away in the comments section.

        Cheers and Enjoy!

        This entry was posted on Thursday, January 1st, 2009 at 5:22 am and is filed under Flex, Show and Tell. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 2 Comments

    Take a look at some of the responses we've had to this article.

    1. Posted on January 14th

      Wow, way to take an initial idea and just ridiculously improve upon it. Great work man, really solid setup.

    2. admin
      Posted on January 14th

      thank you sir, your article was a great point of inspiration.

  • Post a Comment

    Let us know what you thought.

  • Name:

    Email (required):

    Website:

    Message: