The doc on skinning is located here: 
http://livedocs.adobe.com/flex/3/html/skinning_1.html

Was that helpful?

Stephen

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of gwangdesign
Sent: Tuesday, February 17, 2009 12:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] default skin in flex 3 component


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!

<<inline: image001.jpg>>

<<inline: image002.jpg>>

Reply via email to