User Guide
forget() (Timeout) 319
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() on a window also removes that windowβs reference from the windowList.
When the
forget() method is called, the window and the movie in a window (MIAW) disappear
without calling the
stopMovie, closeWindow, or deactivateWindow handlers.
If there are many global references to the movie in a window, the window doesnβt respond to the
forget() method.
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() (Window), Window, windowList
forget() (Timeout)
Usage
timeout("timeoutName").forget()
forget(timeout("timeoutName"))
Description
This timeout object function removes a timeout object from the timeoutList, and prevents it
from sending further timeout events.
Parameters
None.