Packageorg.openPyro.skins
Classpublic class GraphicSkin
InheritanceGraphicSkin Inheritance flash.display.Sprite
ImplementsISkin

This class defines the skins that are composed of raw graphic elements. For example this class defines button skins that use a graphic element embedded in the swf.



Public Properties
 PropertyDefined by
  graphic : DisplayObject
Sets the graphic element that needs to be used as the skin
GraphicSkin
  skinnedControl : UIControl
[write-only]
GraphicSkin
Public Methods
 MethodDefined by
  
GraphicSkin(graphicObject:DisplayObject = null, useButtonMode:Boolean = true)
GraphicSkin
  
dispose():void
GraphicSkin
Property detail
graphicproperty
graphic:DisplayObject  [read-write]

Sets the graphic element that needs to be used as the skin

Implementation
    public function get graphic():DisplayObject
    public function set graphic(value:DisplayObject):void
skinnedControlproperty 
skinnedControl:UIControl  [write-only]

Implementation
    public function set skinnedControl(value:UIControl):void
Constructor detail
GraphicSkin()constructor
public function GraphicSkin(graphicObject:DisplayObject = null, useButtonMode:Boolean = true)Parameters
graphicObject:DisplayObject (default = null)
 
useButtonMode:Boolean (default = true)
Method detail
dispose()method
public function dispose():void