Flex 101: Add skins to a Flex application

Say you want to use FP drawing API to add some hand-coded vector graphics to your Flex containers, as you normally do in a Flash piece:

this.rawChildren.addChild(triangle);

The reason that Flex uses this.rawChildren property is to distinguish “style elements and skins” from the normal UIComponents that are accessible from addChild/getChildAt/numChildren, etc.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: