Package | mx.core |
Class | public class FlexSprite |
Inheritance | FlexSprite flash.display.Sprite |
Subclasses | LoaderSkin, SpriteAsset, UIComponent |
toString()
method
to return a string indicating the location of the object
within the hierarchy of DisplayObjects in the application.
Method | Defined by | ||
---|---|---|---|
Constructor.
| FlexSprite | ||
toString():String
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application.
| FlexSprite |
FlexSprite | () | constructor |
public function FlexSprite()
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 "Button17"
.
See also
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.Button17"
,
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.
|
See also