Class mx.skins.SkinElement

MovieClip
   +--mx.skins.SkinElement

Description

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.

Field Index

height, top, visible, width
Inherited from MovieClip
_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursor

Method Index

__set__visible(), move(), registerElement(), setSize()
Inherited from MovieClip
attachAudio(), attachMovie(), beginFill(), beginGradientFill(), clear(), createEmptyMovieClip(), createTextField(), curveTo(), duplicateMovieClip(), endFill(), getBounds(), getBytesLoaded(), getBytesTotal(), getDepth(), getInstanceAtDepth(), getNextHighestDepth(), getSWFVersion(), getTextSnapshot(), getURL(), globalToLocal(), gotoAndPlay(), gotoAndStop(), hitTest(), lineStyle(), lineTo(), loadMovie(), loadVariables(), localToGlobal(), moveTo(), nextFrame(), onData(), onDragOut(), onDragOver(), onEnterFrame(), onKeyDown(), onKeyUp(), onKillFocus(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onPress(), onRelease(), onReleaseOutside(), onRollOut(), onRollOver(), onSetFocus(), onUnload(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Field Detail

width

width:Number

height

height:Number

top

top:Number

visible

visible:Boolean

Method Detail

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

__set__visible

function __set__visible(visible:
Boolean):Void
See Also

mx.core.UIObject

move

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

mx.core.UIObject

setSize

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

mx.core.UIObject