Chapter 12 Methods - MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference

Director scripting reference
Table of Contents

Advertisement

This section provides an alphabetical list of all the methods available in Director.
abort
Usage
--Lingo syntax
abort
// JavaScript syntax
abort();
Description
Command; tells Lingo to exit the current handler and any handler that called it without
executing any of the remaining statements in the handler. This differs from the
which returns to the handler from which the current handler was called.
The
command does not quit Director.
abort
Parameters
None.
Example
This statement instructs Lingo to exit the handler and any handler that called it when the amount
of free memory is less than 50K:
-- Lingo syntax
if the freeBytes < 50*1024 then abort
// JavaScript syntax
if (_player.freeBytes < 50*1024) {
abort()
}
See also
exit, halt(),
quit()
CHAPTER 12
Methods
keyword,
exit
227

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx 2004

Table of Contents