Packageat.display
Classpublic class ImageStackHolder
InheritanceImageStackHolder Inheritance mx.core.UIComponent
ImplementsIImageStackNavigatorHolder, mx.core.IDataRenderer
SubclassesSlideTilerWindow



Public Properties
 PropertyDefined by
  data : Object
ImageStackHolder
  debugMode : Boolean = false
Outputs useful information for debugging this component for developers when true.
ImageStackHolder
  reflectionAlpha : Number
The alpha of the reflection.
ImageStackHolder
  reflectionEnabled : Boolean
If set to true the holder will generate a reflected image of whatever is currently displayed in this component.
ImageStackHolder
  reflectionGap : int
The height of the distance between the image and the loader in pixels.
ImageStackHolder
  source : Object
The source of the image or swf to be loaded into the component.
ImageStackHolder
  thumbnailField : String
ImageStackHolder
Protected Properties
 PropertyDefined by
  loader : SmoothSWFLoader
The loader for content into the component.
ImageStackHolder
Public Methods
 MethodDefined by
  
Constructor.
ImageStackHolder
  
Attempts to run the activate() method on any swf that may be loaded into the component.
ImageStackHolder
  
Attempts to run the deactivate() method on any swf that may be loaded into the component.
ImageStackHolder
  
unload():void
Unloads the content from the component.
ImageStackHolder
Protected Methods
 MethodDefined by
  
ioErrorHandler(e:IOErrorEvent):void
Handles an error loading from the data provided.
ImageStackHolder
Property detail
dataproperty
data:Object  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get data():Object
    public function set data(value:Object):void
debugModeproperty 
public var debugMode:Boolean = false

Outputs useful information for debugging this component for developers when true.

The output is typically in the form of trace statements and Alerts.

The default value is false.

loaderproperty 
protected var loader:SmoothSWFLoader

The loader for content into the component.

reflectionAlphaproperty 
reflectionAlpha:Number  [read-write]

The alpha of the reflection.

The default value is .5.

Implementation
    public function get reflectionAlpha():Number
    public function set reflectionAlpha(value:Number):void
reflectionEnabledproperty 
reflectionEnabled:Boolean  [read-write]

If set to true the holder will generate a reflected image of whatever is currently displayed in this component. This will appear below the content and will not extend the bounds of the component. This reflection can be updated by the loaded content by having the content dispatch an ImageStackEvent.UPDATE_COMPLETE event. This will allow for any video or moving content to be updated in the reflection.

The default value is false.

Implementation
    public function get reflectionEnabled():Boolean
    public function set reflectionEnabled(value:Boolean):void

See also

reflectionAlpha
reflectionGap
reflection
reflectionGapproperty 
reflectionGap:int  [read-write]

The height of the distance between the image and the loader in pixels.

The default value is 2.

Implementation
    public function get reflectionGap():int
    public function set reflectionGap(value:int):void
sourceproperty 
source:Object  [read-write]

The source of the image or swf to be loaded into the component.

Implementation
    public function get source():Object
    public function set source(value:Object):void
thumbnailFieldproperty 
thumbnailField:String  [read-write]Implementation
    public function get thumbnailField():String
    public function set thumbnailField(value:String):void
Constructor detail
ImageStackHolder()constructor
public function ImageStackHolder()

Constructor.

Method detail
activateContent()method
public function activateContent():void

Attempts to run the activate() method on any swf that may be loaded into the component.

The ImageStackNavigator runs this method if this component becomes the selectedItem in the stack. Typical use for this is to play video or sound from the loaded swf when it is being brought to the foreground.

deactivateContent()method 
public function deactivateContent():void

Attempts to run the deactivate() method on any swf that may be loaded into the component.

The ImageStackNavigator runs this method on every component in the stack that is not the selectedItem. Typical use for this is to stop playing video or sound from the loaded swf when it is no longer selected.

ioErrorHandler()method 
protected function ioErrorHandler(e:IOErrorEvent):void

Handles an error loading from the data provided.

Parameters
e:IOErrorEvent — The io error event
unload()method 
public function unload():void

Unloads the content from the component.