User Guide

Button 273
Properties inherited from class Object
Event summary
_visible:Boolean A Boolean value that indicates whether the
button specified by my_btn is visible.
_width:Number The width of the button, in pixels.
_x:Number An integer that sets the x coordinate of a
button relative to the local coordinates of the
parent movie clip.
_xmouse:Number [read-only] Returns the x hasMouse is true relative to the
button.
_xscale:Number The horizontal scale of the button as applied
from the registration point of the button,
expressed as a percentage.
_y:Number The y coordinate of the button relative to the
local coordinates of the parent movie clip.
_ymouse:Number [read-only] Returns the y coordinate of the mouse
position relative to the button.
_yscale:Number The vertical scale of the button as applied
from the registration point of the button,
expressed as a percentage.
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)
Event Description
onDragOut = function() {} Invoked when the user presses the mouse button over
the button and then drags the pointer outside of the
button.
onDragOver = function() {} Invoked when the user presses the mouse button
outside of the button and then drags the pointer over
the button.
onKeyDown = function() {} Invoked when a button has keyboard focus and a key is
pressed.
onKeyUp = function() {} Invoked when a button has input focus and a key is
released.
Modifiers Property Description