Revision: 13381
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 22, 2009 00:57 by GarthDB
Initial Code
package components { import skins.MyComponent; import spark.components.supportClasses.Component; public class MyComponent extends Component { public function MyComponent() { super(); var t:* = getStyle('skinClass'); if(t == undefined){ setStyle("skinClass", skins.MyComponent); } } } }
Initial URL
Initial Description
This is an example of how to define a default skin in a component written in ActionScript 3 that extends a spark component.
Initial Title
Setting a Default Skin
Initial Tags
Flex
Initial Language
ActionScript 3