Skip to main content
Participant
August 23, 2012
Question

do we have the chance to have a skin design features of a mobile.

  • August 23, 2012
  • 1 reply
  • 436 views

do we have the chance to have a skin design features of a mobile.

This topic has been closed for replies.

1 reply

Inspiring
August 23, 2012

Yes. Assuming you are using Flex and Flash Builder, in Flash Builder, create a new MXML Skin.

  1. Right click a directory in your profject (it is a good idea to create a new skins package. They multiply quickly)
  2. Choose a name for the skin
  3. Choose a Host Component for the skin (button, slider, scroller, videoplayer, etc.)
  4. Make sure you "Create As Copy Of" a specific skin class (whether it be the base skin, such as ScrollerSkin, or a skin subclass, such as VScrollBarSkin)
  5. Create
  6. Add in your own MXML Spark components. You can either use the ones already present in the skin as a base or overwrite them entirely. It's entirely up to you.