forget() (Window)
Usage
-- Lingo syntax
windowObjRef.forget()
// JavaScript syntax
windowObjRef.forget();
Description
Window method; instructs script to close a window and stop its playback when it's no longer in
use and no other variables refer to it.
Calling
forget()
When the
forget()
without calling the
If there are many global references to the movie in a window, the window doesn't respond to the
method.
forget()
Parameters
None.
Example
This statement instructs Lingo to delete the window Control Panel when the movie no longer
uses the window:
-- Lingo syntax
window("Control Panel").forget()
// JavaScript syntax
window("Control Panel").forget();
See also
close(),
open()
forget() (Timeout)
Usage
timeout("timeoutName").forget()
forget(timeout("timeoutName"))
Description
This timeout object function removes a timeout object from the
from sending further timeout events.
Parameters
None.
on a window also removes that window's reference from the
method is called, the window and the movie in a window (MIAW) disappear
,
stopMovie
closeWindow
(Window), Window,
, or
deactivateWindow
windowList
windowList
handlers.
, and prevents it
timeoutList
forget() (Timeout)
.
319
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers