Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
MovieClipLoaderAsset

Package | mx.core
Class | public class MovieClipLoaderAsset
Inheritance | MovieClipLoaderAsset MovieClipAsset FlexMovieClip 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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | borderMetrics : EdgeMetrics [read-only] Returns an EdgeMetrics object for the border that has four properties: left, top, right, and bottom. | MovieClipAsset
|  | measuredHeight : Number [read-only] The measured height of this object. | MovieClipAsset
|  | measuredWidth : Number [read-only] The measured width of this object. | MovieClipAsset
|  | movieClipData : ByteArray [read-only] A ByteArray containing the inner content. | MovieClipLoaderAsset

Protected Properties

| Property | Defined By
--- | --- | ---
|  | initialHeight : Number = 0 Backing storage for the measuredHeight property. | MovieClipLoaderAsset
|  | initialWidth : Number = 0 Backing storage for the measuredWidth property. | MovieClipLoaderAsset

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | MovieClipLoaderAsset() Constructor. | MovieClipLoaderAsset
|  | move(x:Number, y:Number):void Moves this object to the specified x and y coordinates. | MovieClipAsset
|  | setActualSize(newWidth:Number, newHeight:Number):void Sets the actual size of this object. | MovieClipAsset
|  | 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
--- | --- | --- | ---
|  | complete | Dispatched after the SWF asset has been fully loaded. | MovieClipLoaderAsset

Property Detail

initialHeight | property

`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.

initialWidth | property |

`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.

movieClipData | property |

`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.

Wed Nov 15 2017, 09:50 AM +01:00