Popa Mihai

PopaMihai.com – Flex, Flash, AIR and ActionScript articles and tutorials

Archive for the ‘skin parts’ tag

Skinning The Spark Button Control with Flex 4

4 comments

In this article I will create a custom Spark Button control that will look something like this:

spark button control skin

You can find the working example lower on this page.

There are five steps that you must take to create a new Flex 4 Skin (for any Spark component):
Read the rest of this entry »

Written by Popa Mihai

November 23rd, 2010 at 6:31 pm

Skinning Flex 4 Components – Skinning the Spark Panel Component

3 comments

In this article I will create a custom Spark Panel component that will look something like this:

Spark Panel Component Skin

You can find the working example lower on this page.

There are five steps that you must take to create a new Flex 4 Skin (for any Spark component):

  1. Create a new MXML component that extends the SparkSkin class
  2. Define the states of the Skin. The default states for most of the components are normal and disabled
  3. Define the HostComponent between Metadata tags
  4. Specify all the graphical elements that are used by the custom Skin
  5. Define the skin parts for the skin

Read the rest of this entry »