views:

137

answers:

1

I'm working with Flex4 and I'm trying to skin a form (add a background and a border to it, etc.)

I'm trying to do it the Flex 4 way with skinClass=""

<mx:Form skinClass="skins.MyFormSkin" />

but it's not accepting skinClass as a property.

How should I do it such that I'm still adhering to the best practices in Flex 4 (decoupling visuals from logic)?

A: 

skinClass only works on spark components, which have tags starting with <s:

Qz