Hi,

I am trying to define the default skin (which is ProgrammaticSkin for
now) for my custom UIComponent. I would like to provide my own
programmaticSkin (hm.controls.myUICompClasses.BackdropSkin) as
default; and I am doing it in my UIComponent's style metadata, like so:

[Style(name="backdropSkin",
type="hm.controls.myUICompClasses.BackdropSkin", inherit="yes")]
...
protected var _backdrop:Class;
...


Is this the right way? What type should my _backdrop be? Or do I need
to provide a CSS anyhow? Or classConstruc()???

When I try to get the style using:

var backdropSkin:Class = getStyle("backdropSkin");

I get type of Object instead of Class.

I appreciate any lead while still poking around the flex
documentation/sdk code! Sorry everything looks a bit blurred right
now8) Good night!

Reply via email to