6. Programmatic Skinning
Like graphical skinning, programmatic skinning is the process of customizing a component by replacing its visual elements. However, programmatic skinning uses ActionScript classes to dynamically create artwork rather than attaching pre-made graphics. The artwork can be drawn based on various parameters, which makes programmatic skins very powerful. The default Flex component skins, which are programmatic, are extremely versatile because they expose many style attributes that allow you to influence the way the skin looks.
Programmatic skinning requires ActionScript knowledge to extend classes, create shapes with drawing functions, and define what is accessible via styling. For this reason, programmatic skinning has a ...
Get Creating Visual Experiences with Flex 3.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.