Thursday, August 20, 2009

Use of hostComponent inside spark skin: Create your own customized spark panel

The following example shows how you can use customized component as hostComponent inside a customized skin. After creating CustomSparkPanel I have changed [HostComponent("spark.components.Panel")] to [HostComponent("CustomSparkPanel")] in CustomizedPanelSkin.mxml file and modified accordingly.

The following example(s) require Adobe Flex 4 SDK and Flash Player 10.



Download Source Code

  1. Custom Panel (Application)
  2. Custom Spark Panel (Panel)
  3. Custom Panel Skin (Skin)

No comments:

Post a Comment