![]() ![]() | |
Flash Player 6.0.79.
Flash MX 2004.
componentInstance.setSkin(id,linkageName)
id A number indicating the variable. This value is usually a constant defined in the class definition.
linkageName A string indicating an asset in the library.
Nothing.
Method; sets a skin in the component instance. Use this method when you are developing components. You cannot use this method to set a component's skins at runtime.
This example sets a skin in the checkbox instance:
checkbox.setSkin(CheckBox.skinIDCheckMark, "MyCustomCheckMark");
![]() ![]() | |