com.adobe.exm.expression.impl

# BytesExpressionLoader - AS3 Expression Manager

Package | com.adobe.exm.expression.impl
Class | public class BytesExpressionLoader
Inheritance | BytesExpressionLoader DefaultExpressionLoader Object

Deprecated since Expression Manager 10

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 9.5

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Loads the expression swf into loader from already loaded swf ByteArray

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object
|  | faultHandler : Function Fault handler. | DefaultExpressionLoader
|  | loadCompleteHandler : Function Invoked in case of successful load. | DefaultExpressionLoader

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | loader : Loader For loading SWF. | DefaultExpressionLoader

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | BytesExpressionLoader(swfBytes:ByteArray) Constructor. | BytesExpressionLoader
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | loadExpressions(loaderContext:LoaderContext):void [override] This function loads swf from byte[]. | BytesExpressionLoader
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | reset():void [override] Resets the loader state. | BytesExpressionLoader
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Protected Methods
Hide Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | registerEventHandlers():void Registers loadCompleteHandler and faultHandler with the loader instance | DefaultExpressionLoader

Constructor Detail

### BytesExpressionLoader

()
Constructor

`public function BytesExpressionLoader(swfBytes:ByteArray)`

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 9.5

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Constructor.

Parameters

| `swfBytes:ByteArray` — bytes of the loaded SWF.

Method Detail

### loadExpressions

()
method

`override public function loadExpressions(loaderContext:LoaderContext):void`

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 9.5

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

This function loads swf from byte[].

Parameters

| `loaderContext:LoaderContext` — loaderContext object.

### reset

()
method

`override public function reset():void`

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 9.5

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Resets the loader state.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00