Packagecom.soundstep.ui.layouts
Classpublic class SpacerUI
InheritanceSpacerUI Inheritance flash.display.MovieClip

Author: Romuald Quantin - www.soundstep.com
Class version: 3.0.1
Actionscript version: 3.0
Copyright: Mozilla Public License 1.1 (MPL 1.1)
http://www.opensource.org/licenses/mozilla1.1.php
You can use BaseUI in any flash site, except to include/distribute it in another framework, application, template, component or structure that is meant to build, scaffold or generate source files.

Date: 08-2008
Usage:
Manage a list of elements (Element UI) to be displayed
you can use the following properties to handle the position and sizes of the DisplayObject registered:
x, y, left, right, top, bottom, width (also percentage), height (also percentage), horizontalCenter, verticalCenter, ratio, alignX, alignY


Example
  var spacer:SpacerUI = new SpacerUI(100, 100);
  addChild(spacer);
  



Public Properties
 PropertyDefined by
  _internalBaseUI : BaseUI
SpacerUI
  spacerAlpha : Number
background alpha of the canvas
SpacerUI
  spacerColor : uint
background color of the canvas
SpacerUI
  _ui : ElementUI
SpacerUI
  ui : ElementUI
[read-only] get a the wrapper ElementUI instance
SpacerUI
  _wrapper : Wrapper
SpacerUI
  wrapper : Wrapper
[read-only]
SpacerUI
Public Methods
 MethodDefined by
  
SpacerUI(widthLayout:Number = 10, heightLayout:Number = 10)
Constructor Create an instance of the CanvasUI class
SpacerUI
Property detail
_internalBaseUIproperty
public var _internalBaseUI:BaseUI
spacerAlphaproperty 
spacerAlpha:Number  [read-write]

background alpha of the canvas

The default value is Number 0.

Implementation
    public function get spacerAlpha():Number
    public function set spacerAlpha(value:Number):void
spacerColorproperty 
spacerColor:uint  [read-write]

background color of the canvas

The default value is uint 0x000000.

Implementation
    public function get spacerColor():uint
    public function set spacerColor(value:uint):void
_uiproperty 
public var _ui:ElementUI
uiproperty 
ui:ElementUI  [read-only]

get a the wrapper ElementUI instance

Implementation
    public function get ui():ElementUI
_wrapperproperty 
public var _wrapper:Wrapper
wrapperproperty 
wrapper:Wrapper  [read-only]Implementation
    public function get wrapper():Wrapper
Constructor detail
SpacerUI()constructor
public function SpacerUI(widthLayout:Number = 10, heightLayout:Number = 10)

Constructor Create an instance of the CanvasUI class

Parameters
widthLayout:Number (default = 10) — width of the canvas
 
heightLayout:Number (default = 10) — height of the canvas