Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
FlexSimpleButton is a subclass of the Player's SimpleButton 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 function FlexSimpleButton()
Language Version : | ActionScript 3.0 |
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 "FlexSimpleButton16"
.
See also
override public function toString():String
Language Version : | ActionScript 3.0 |
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.FlexSimpleButton16"
,
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
Mon Feb 18 2013, 01:33 PM +11:00