| Package | com.moto.template.common.view.components.loaders |
| Class | public class AbstractMediaLoader |
| Inheritance | AbstractMediaLoader fl.core.UIComponent |
| Subclasses | FLVLoader, ImageLoader, SWFLoader, YouTubeVideoLoader |
See also
| Property | Defined by | ||
|---|---|---|---|
| backgroundAlpha : Number = 0
Background alpha of a component.
| AbstractMediaLoader | ||
| backgroundColor : String = "0x000000"
Background color of a component.
| AbstractMediaLoader | ||
| horizontalAlign : String
Horizontal align for loaded content.
| AbstractMediaLoader | ||
| isLoaded : Boolean [read-only]
True if source is loaded.
| AbstractMediaLoader | ||
| progressBar : IAnimatedProgressBar
Loader Progress Bar.
| AbstractMediaLoader | ||
| scalingMode : String
Scaling mode for loaded content.
| AbstractMediaLoader | ||
| source : String
Source url string, or YouTube video ID.
| AbstractMediaLoader | ||
| verticalAlign : String
Vertical align for loaded content.
| AbstractMediaLoader | ||
| zooming : Boolean = true
Allow resizing loaded content more than its original value.
| AbstractMediaLoader | ||
| Method | Defined by | ||
|---|---|---|---|
|
AbstractMediaLoader(scalingMode:String, horizontalAlign:String, verticalAlign:String)
Constructor.
| AbstractMediaLoader | ||
|
destroy():void
Calling for destroy component.
| AbstractMediaLoader | ||
|
getComponent():UIComponent
Getting
UIComponent used in current class; in this case it's identical. | AbstractMediaLoader | ||
|
unload():void
Calling for unload source.
| AbstractMediaLoader | ||
| Method | Defined by | ||
|---|---|---|---|
|
configUI():void
| AbstractMediaLoader | ||
|
load(source:String):void
Calls source loading; this method is automatically called by
set source method after the preliminary information handling. | AbstractMediaLoader | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
Dispatched when the component size was changed without setSize. | AbstractMediaLoader | |||
| backgroundAlpha | property |
public var backgroundAlpha:Number = 0Background alpha of a component.
The default value is 0.
| backgroundColor | property |
public var backgroundColor:String = "0x000000"Background color of a component.
The default value is "0x000000".
| horizontalAlign | property |
public var horizontalAlign:StringHorizontal align for loaded content.
The default value is center.
| isLoaded | property |
isLoaded:Boolean [read-only]True if source is loaded.
Implementation public function get isLoaded():Boolean
| progressBar | property |
| scalingMode | property |
public var scalingMode:StringScaling mode for loaded content.
The default value is none.
| source | property |
source:String [read-write]Source url string, or YouTube video ID.
Implementation public function get source():String
public function set source(value:String):void
| verticalAlign | property |
public var verticalAlign:StringVertical align for loaded content.
The default value is middle.
| zooming | property |
public var zooming:Boolean = trueAllow resizing loaded content more than its original value.
The default value is true.
| AbstractMediaLoader | () | constructor |
public function AbstractMediaLoader(scalingMode:String, horizontalAlign:String, verticalAlign:String)Constructor.
ParametersscalingMode:String — scaling mode
|
|
horizontalAlign:String — horizontal align
|
|
verticalAlign:String — vertical align
|
| configUI | () | method |
protected override function configUI():void
| destroy | () | method |
public function destroy():voidCalling for destroy component.
| getComponent | () | method |
public function getComponent():UIComponent
Getting UIComponent used in current class; in this case it's identical.
UIComponent — UIComponent return instace of UIComponent
|
| load | () | method |
protected function load(source:String):void
Calls source loading; this method is automatically called by set source method after the preliminary information handling.
source:String |
| unload | () | method |
public function unload():voidCalling for unload source.
| motoObjectSizeUpdated | event |
com.moto.template.common.events.UpdateMotoObjectEvent
Dispatched when the component size was changed without setSize.