Chapter 41: Simplebutton Class - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

CHAPTER 41
SimpleButton class
Inheritance
MovieClip >
ActionScript Class Name
The properties of the SimpleButton class let you control the following at runtime:
Whether a button has the emphasized look of a default push button
Whether the button acts as a push button or as a toggle switch
Whether a button is selected
Method summary for the SimpleButton class
There are no methods exclusive to the SimpleButton class.
Methods inherited from the UIObject class
The following table lists the methods the SimpleButton class inherits from the UIObject class.
When calling these methods from the SimpleButton class, use the form
buttonInstance.methodName
Method
UIObject.createClassObject()
UIObject.createObject()
UIObject.destroyObject()
UIObject.doLater()
UIObject.getStyle()
UIObject.invalidate()
UIObject.move()
UIObject.redraw()
UIObject class
>
UIComponent class
mx.controls.SimpleButton
.
Description
Creates an object on the specified class.
Creates a subobject on an object.
Destroys a component instance.
Calls a function when parameters have been set in the
Property and Component inspectors.
Gets the style property from the style declaration or object.
Marks the object so it is redrawn on the next frame interval.
Moves the object to the requested position.
Forces validation of the object so it is drawn in the
current frame.
> SimpleButton
1125
4 1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents