Object <- Viewable <- Stamp <- Button <- ControlPanelButton |
|
|
Action DefaultReceiverForSelf GoToAndReveal |
Class ControlPanelButton defines no new attributes.
Fields
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| Stamp: | image: | Image |
| HasBorder: | border: | Border |
| HasDestination: | destination: | Viewable |
| ControlPanelButton: | authoringModeOnly: | Boolean |
instance ControlPanelButton tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; image: nilObject; border: nilObject; destination: nilObject; authoringModeOnly: false; end instance;
Define Class ControlPanelButton; inherits from Button, Entrance; field authoringModeOnly: Boolean, getter; // specifies whether the button is to be installed only in authoring mode. overrides Action; // goes to the destination overrides DefaultReceiverForSelf; // installs into the control panel overrides GoToAndReveal; // goes to the control panel and flashes the button if // it is there end class;