36
Top-Level Functions and Methods
Example
The following example prompts the user to enter a user name. If the user types a name and
clicks OK, the name appears in the Output panel.
var userName = prompt("Enter user name", "Type user name here");
fl.trace(userName);
See also
alert()
,
confirm()
removeEffect()
Availability
Flash MX 2004.
Usage
function removeEffect() {
// statements
}
Parameters
None.
Returns
Nothing.
Description
Function; called when the user changes an effect’s properties or uses the Remove Effect menu
item. The code contained in this function returns the object(s) to their original state. For
example, if the effect broke a text string apart, the
removeEffect()
method would remove
the text string that was broken apart and replace it with the original string.
See also
configureEffect()
,
executeEffect()
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...