ColoredSkinElement

Kind of class:class
Inherits from:none
Classpath:mx.skins.ColoredSkinElement
File last modified:Tuesday, 18 December 2007, 15:44:38
Class used for coloring graphical objects in response to color style changes.
Each ColoredSkinElement is all one color so multi-color graphics must be
composited from multiple ColoredSkinElements. Add the setColorStyle method
to the actions for each colored graphical object.

Summary


Class properties
Instance properties
Class methods
  • setColorStyle (p:Object, colorStyle:String) : Void
    • call this in the actions for each colorable graphic element
Instance methods
Event handlers

Class properties

mixins

static mixins:ColoredSkinElement = new ColoredSkinElement()
(read)

Instance properties

_color

_color
(read)

getStyle

getStyle:Function
(read)

Class methods

setColorStyle

static function setColorStyle (
p:Object, colorStyle:String) : Void

call this in the actions for each colorable graphic element
Example: mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Element will now use "borderColor" for its actual color.

Instance methods

draw

function draw (
Void) : Void

invalidateStyle

function invalidateStyle (
Void) : Void

setColor

function setColor (
c:Number) : Void

Event handlers

onEnterFrame

onEnterFrame:Function
(read)