Packagemx.core
Classpublic class FlexLoader
InheritanceFlexLoader Inheritance flash.display.Loader

FlexLoader is a subclass of the Player's Loader class. It overrides the toString() method to return a string indicating the location of the object within the hierarchy of DisplayObjects in the application.



Public Methods
 MethodDefined by
  
Constructor.
FlexLoader
  
toString():String
Returns a string indicating the location of this object within the hierarchy of DisplayObjects in the Application.
FlexLoader
Constructor detail
FlexLoader()constructor
public function FlexLoader()

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

See also

flash.display.DisplayObject.name
mx.utils.NameUtils.createUniqueName()
Method detail
toString()method
public override function toString():String

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.

Returns
String — A String indicating the location of this object within the DisplayObject hierarchy.

See also

flash.display.DisplayObject.name
mx.utils.NameUtils.displayObjectToString()