| Package | mx.core | 
| Class | public class FlexLoader | 
| Inheritance | FlexLoader    Loader   DisplayObjectContainer   InteractiveObject   DisplayObject   EventDispatcher   Object | 
| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
toString() method
  to return a string indicating the location of the object
  within the hierarchy of DisplayObjects in the application.
  
  Public Properties
Public Methods 
| Method | Defined By | ||
|---|---|---|---|
      Constructor.  | FlexLoader | ||
![]()  | 
     Adds a child DisplayObject instance to this DisplayObjectContainer instance.  | DisplayObjectContainer | |
![]()  | 
	 Adds a child DisplayObject instance to this DisplayObjectContainer 
	 instance.  | DisplayObjectContainer | |
![]()  | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void 
	Registers an event listener object with an EventDispatcher object so that the listener 
	receives notification of an event.  | EventDispatcher | |
![]()  | 
	 Indicates whether the security restrictions 
	 would cause any display objects to be omitted from the list returned by calling
	 the DisplayObjectContainer.getObjectsUnderPoint() method
	 with the specified point point.  | DisplayObjectContainer | |
![]()  | 
     Cancels a load() method operation that is currently in progress for the Loader instance.  | Loader | |
![]()  | 
	 Determines whether the specified display object is a child of the DisplayObjectContainer instance or
	 the instance itself.  | DisplayObjectContainer | |
![]()  | 
	Dispatches an event into the event flow.  | EventDispatcher | |
![]()  | 
     Returns a rectangle that defines the area of the display object relative to the coordinate system
     of the targetCoordinateSpace object.  | DisplayObject | |
![]()  | 
     Returns the child display object instance that exists at the specified index.  | DisplayObjectContainer | |
![]()  | 
     Returns the child display object that exists with the specified name.  | DisplayObjectContainer | |
![]()  | 
     Returns the index position of a child DisplayObject instance.  | DisplayObjectContainer | |
![]()  | 
     Returns an array of objects that lie under the specified point and are children 
     (or grandchildren, and so on) of this DisplayObjectContainer instance.  | DisplayObjectContainer | |
![]()  | 
    Returns a rectangle that defines the boundary of the display object, 
    based on the coordinate system defined by the targetCoordinateSpace 
    parameter, excluding any strokes on shapes.  | DisplayObject | |
![]()  | 
     Converts the point object from the Stage (global) coordinates
     to the display object's (local) coordinates.  | DisplayObject | |
![]()  | 
     Converts a two-dimensional point from the Stage (global) coordinates to a
     three-dimensional display object's (local) coordinates.  | DisplayObject | |
![]()  | 
	Checks whether the EventDispatcher object has any listeners registered for a specific type 
	of event.  | EventDispatcher | |
![]()  | 
	 Indicates whether an object has a specified property defined.  | Object | |
![]()  | 
     Evaluates the bounding box of the display object to see if it overlaps or intersects with the
     bounding box of the obj display object.  | DisplayObject | |
![]()  | 
     Evaluates the display object to see if it overlaps or intersects with the
     point specified by the x and y parameters.  | DisplayObject | |
![]()  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter.  | Object | |
![]()  | 
     Loads a SWF, JPEG, progressive JPEG, unanimated GIF, or PNG file into an object that is a child of 
     this Loader object.  | Loader | |
![]()  | 
     Loads from binary data stored in a ByteArray object.  | Loader | |
![]()  | 
	 Loads an IFilePromise instance.  | Loader | |
![]()  | 
     Converts a three-dimensional point of the three-dimensional display 
     object's (local) coordinates to a two-dimensional point in the Stage (global) coordinates.  | DisplayObject | |
![]()  | 
     Converts the point object from the display object's (local) coordinates to the
     Stage (global) coordinates.  | DisplayObject | |
![]()  | 
	 Indicates whether the specified property exists and is enumerable.  | Object | |
![]()  | 
	 Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.  | DisplayObjectContainer | |
![]()  | 
	 Removes a child DisplayObject from the specified index position in the child list of 
	 the DisplayObjectContainer.  | DisplayObjectContainer | |
![]()  | 
	 Removes all child DisplayObject instances from the child list of the DisplayObjectContainer instance.  | DisplayObjectContainer | |
![]()  | 
	Removes a listener from the EventDispatcher object.  | EventDispatcher | |
![]()  | 
     Raises a virtual keyboard.  | InteractiveObject | |
![]()  | 
	Changes the  position of an existing child in the display object container.  | DisplayObjectContainer | |
![]()  | 
     Sets the availability of a dynamic property for loop operations.  | Object | |
![]()  | 
     Recursively stops the timeline execution of all MovieClips rooted at this object.  | DisplayObjectContainer | |
![]()  | 
	 Swaps the z-order (front-to-back order) of the two specified child objects.  | DisplayObjectContainer | |
![]()  | 
	 Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the 
	 child list.  | DisplayObjectContainer | |
![]()  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions.  | Object | |
[override] 
      Returns a string indicating the location of this object
      within the hierarchy of DisplayObjects in the Application.  | FlexLoader | ||
![]()  | 
     Removes a child of this Loader object that was loaded by using the load() method.  | Loader | |
![]()  | 
     Attempts to unload child SWF file contents and stops the execution of commands from loaded SWF files.  | Loader | |
![]()  | 
	 Returns the primitive value of the specified object.  | Object | |
![]()  | 
	Checks whether an event listener is registered with this EventDispatcher object or any of 
	its ancestors for the specified event type.  | EventDispatcher | |
Constructor Detail
FlexLoader | () | Constructor | 
public function FlexLoader()| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
Constructor.
Sets the name property to a string
      returned by the createUniqueName()
      method of the mx.utils.NameUtils class.
This string is the name of the object's class concatenated
      with an integer that is unique within the application,
      such as "FlexLoader13".
Related API Elements
flash.display.DisplayObject.name
mx.utils.NameUtils.createUniqueName()
mx.utils.NameUtils.createUniqueName()
Method Detail
toString | () | method | 
override public function toString():String| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
      Returns a string indicating the location of this object
      within the hierarchy of DisplayObjects in the Application.
      This string, such as "MyApp0.HBox5.FlexLoader13",
      is built by the displayObjectToString() method
      of the mx.utils.NameUtils class from the name
      property of the object and its ancestors.
      
      
String — A String indicating the location of this object
      within the DisplayObject hierarchy. 
     
       | 
Related API Elements
flash.display.DisplayObject.name
mx.utils.NameUtils.displayObjectToString()
mx.utils.NameUtils.displayObjectToString()
Thu Dec 6 2018, 01:12 PM -08:00
 
 Hide Inherited Public Properties
 Show Inherited Public Properties