SkinElement

Kind of class:class
Inherits from:MovieClip
Known subclasses:
Classpath:mx.skins.SkinElement
File last modified:Tuesday, 18 December 2007, 15:44:38
The class for skin elements. SkinElements support a common API for sizing and positioning
If you do not have any other special needs just register your skins as skin elements. If
you do have your own class, register that class anyway otherwise it will get re-registered as
a skin element and your class code will not be executed. This is essentially UIObject without
events, style API, and child object management.

Summary


Instance properties
Class methods
  • registerElement (name:String, className:Function) : Void
    • All library assets that want to participate in our resizing and recoloring schemes
Instance methods

Instance properties

height

height:Number
(read)

top

top:Number
(read)

visible

visible:Boolean
(read)

width

width:Number
(read)

Class methods

registerElement

static function registerElement (
name:String, className:Function) : Void

All library assets that want to participate in our resizing and recoloring schemes
need to be SkinElements or UIObjects. If you are not a SkinElement you must register here.
Otherwise, you will be a SkinElement automatically
Parameters:
name :
Symbol name of object
className:
Name of Class that supports the object

Instance methods

__set__visible

function __set__visible (
visible:Boolean) : Void

See also:

move

function move (
x:Number, y:Number) : Void

See also:

setSize

function setSize (
w:Number, h:Number) : Void

See also: