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
- Custom Panel (Application)
- Custom Spark Panel (Panel)
- Custom Panel Skin (Skin)
No comments:
Post a Comment