Click or drag to resize
GObject Properties

The GObject type exposes the following members.

Properties
  NameDescription
Public propertyactualHeight
actualHeight = height * scaleY
Public propertyactualWidth
actualWidth = width * scalex
Public propertyalpha
The opacity of the object. 0 = transparent, 1 = opaque.
Public propertyasButton
Public propertyasCom
Public propertyasComboBox
Public propertyasGraph
Public propertyasGroup
Public propertyasImage
Public propertyasLabel
Public propertyasList
Public propertyasLoader
Public propertyasMovieClip
Public propertyasProgress
Public propertyasRichTextField
Public propertyasSlider
Public propertyasTextField
Public propertyasTextInput
Public propertyblendMode
Public propertydisplayObject
Lowlevel display object.
Public propertydraggable
Public propertydragging
Public propertyStatic memberdraggingObject
当前全局正在被拖动的对象
Public propertyenabled
Enabled is shortcut for grayed and !touchable combination.
Public propertyfilter
Public propertyfocusable
If the object can be focused?
Public propertyfocused
If the object is focused. Focused object can receive key events.
Public propertygearLook
Gear to look controller.
Public propertygearSize
Gear to size controller.
Public propertygearXY
Gear to xy controller.
Public propertygrayed
If true, apply a grayed effect on this object.
Public propertyheight
The height of the object in pixels.
Public propertyicon
Public propertyid
GObject的id,仅作为内部使用。与name不同,id值是不会相同的。 id is for internal use only.
Public propertyinContainer
If the object has lowlevel displayobject and the displayobject has a container parent?
Public propertyinitHeight
The initial height of the object.
Public propertyinitWidth
The initial width of the object.
Public propertyonAddedToStage
Dispatched when the object was added to the stage.
Public propertyonClick
Dispatched when the object or its child was clicked.
Public propertyonClickLink
Dispatched when links in the object or its child was clicked.
Public propertyonDragEnd
Dispatched when drag end.
Public propertyonDragMove
Dispatched when dragging.
Public propertyonDragStart
Dispatched when drag start.
Public propertyOnGearStop
Public propertyonKeyDown
Dispatched on key pressed when the object is in focus.
Public propertyonPositionChanged
Dispatched when the object was moved.
Public propertyonRemovedFromStage
Dispatched when the object was removed from the stage.
Public propertyonRightClick
Dispatched when the object or its child was clicked by right mouse button. Web only.
Public propertyonRollOut
Only available for mouse input: the cursor leave an object.
Public propertyonRollOver
Only available for mouse input: the cursor hovers over an object.
Public propertyonSizeChanged
Dispatched when the object was resized.
Public propertyonStage
If the object is on stage.
Public propertyonTouchBegin
Dispatched when the finger touched the object or its child just now.
Public propertyonTouchEnd
Dispatched when the finger was lifted from the screen or from the mouse button.
Public propertyparent
Parent object.
Public propertypivot
The x and y coordinates of the object's origin in its own coordinate space.
Public propertypivotX
The x coordinate of the object's origin in its own coordinate space.
Public propertypivotY
The y coordinate of the object's origin in its own coordinate space.
Public propertypixelSnapping
Public propertyposition
The x,y,z coordinates of the object relative to the local coordinates of the parent.
Public propertyrelations
Relations Object.
Public propertyresourceURL
Resource url of this object.
Public propertyroot
Public propertyrotation
The rotation around the z axis of the object in degrees.
Public propertyrotationX
The rotation around the x axis of the object in degrees.
Public propertyrotationY
The rotation around the y axis of the object in degrees.
Public propertyscale
The scale factor.
Public propertyscaleX
The horizontal scale factor. '1' means no scale, cannt be negative.
Public propertyscaleY
The vertical scale factor. '1' means no scale, cannt be negative.
Public propertysize
The size of the object in pixels.
Public propertyskew
Public propertysortingOrder
By default(when sortingOrder==0), object added to component is arrange by the added roder. The bigger is the sorting order, the object is more in front.
Public propertysourceHeight
The source height of the object.
Public propertysourceWidth
The source width of the object.
Public propertytext
Public propertytooltips
Tooltips of this object. UIConfig.tooltipsWin must be set first.
Public propertytouchable
If the object can touch or click. GImage/GTextField is not touchable even it is true.
Public propertyvisible
The visibility of the object. An invisible object will be untouchable.
Public propertywidth
The width of the object in pixels.
Public propertyx
The x coordinate of the object relative to the local coordinates of the parent.
Public propertyxy
The x and y coordinates of the object relative to the local coordinates of the parent.
Public propertyy
The y coordinate of the object relative to the local coordinates of the parent.
Public propertyz
The z coordinate of the object relative to the local coordinates of the parent.
Top
See Also