MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 35

Extending flash
Table of Contents

Advertisement

Returns
Nothing.
Description
Function; called when the extensible tool is active and the user changes its options in the
Property inspector. You can use the
of the options (see
tools.activeTool
Example
The following example displays a message in the Output panel when the extensible tool is
active and the user changes its options in the Property inspector.
function notifySettingsChanged() {
var theTool = fl.tools.activeTool;
var newValue = theTool.myProp;
}
prompt()
Availability
Flash MX 2004.
Usage
prompt( promptMsg, [ text ] )
Parameters
A string to display in the Prompt dialog box (limited to 256 characters on
promptMsg
Macintosh OS X).
An optional string to display as a default value for the text field.
text
Returns
The string the user typed if the user clicks OK;
Description
Method; displays a prompt and optional text in a modal Alert dialog box, along with OK and
Cancel buttons.
property to query the current values
tools.activeTool
).
if the user clicks Cancel.
null
prompt()
35

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents