Packagemx.core
Classpublic class MovieClipLoaderAsset
InheritanceMovieClipLoaderAsset Inheritance MovieClipAsset Inheritance FlexMovieClip Inheritance flash.display.MovieClip
Implements IFlexAsset, IFlexDisplayObject

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

MovieClipLoaderAsset is a subclass of the MovieClipAsset class which represents SWF files that you embed in a Flex application.



Public Properties
 PropertyDefined By
 InheritedborderMetrics : EdgeMetrics
[read-only] Returns an EdgeMetrics object for the border that has four properties: left, top, right, and bottom.
MovieClipAsset
 InheritedmeasuredHeight : Number
[read-only] The measured height of this object.
MovieClipAsset
 InheritedmeasuredWidth : Number
[read-only] The measured width of this object.
MovieClipAsset
  movieClipData : ByteArray
[read-only] A ByteArray containing the inner content.
MovieClipLoaderAsset
Protected Properties
 PropertyDefined By
  initialHeight : Number = 0
Backing storage for the measuredHeight property.
MovieClipLoaderAsset
  initialWidth : Number = 0
Backing storage for the measuredWidth property.
MovieClipLoaderAsset
Public Methods
 MethodDefined By
  
Constructor.
MovieClipLoaderAsset
 Inherited
move(x:Number, y:Number):void
Moves this object to the specified x and y coordinates.
MovieClipAsset
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
Sets the actual size of this object.
MovieClipAsset
 Inherited
toString():String
[override] Returns a string indicating the location of this object within the hierarchy of DisplayObjects in the Application.
FlexMovieClip
Events
 Event Summary Defined By
  Dispatched after the SWF asset has been fully loaded.MovieClipLoaderAsset
Property Detail
initialHeightproperty
protected var initialHeight:Number = 0

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Backing storage for the measuredHeight property. Subclasses should set this value in the constructor.

initialWidthproperty 
protected var initialWidth:Number = 0

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Backing storage for the measuredWidth property. Subclasses should set this value in the constructor.

movieClipDataproperty 
movieClipData:ByteArray  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

A ByteArray containing the inner content. Overridden in subclasses.


Implementation
    public function get movieClipData():ByteArray
Constructor Detail
MovieClipLoaderAsset()Constructor
public function MovieClipLoaderAsset()

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Event Detail
complete Event
Event Object Type: flash.events.Event
Event.type property = flash.events.Event.COMPLETE

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Dispatched after the SWF asset has been fully loaded.