User Guide

250
forget
Syntax
window(whichWindow).forget()
forget window whichWindow
Description
Window property; instructs Lingo to close and delete the window specified by whichWindow
when its no longer in use and no other variables refer to it.
When a
forget window command is given, the window and the movie in a window (MIAW)
disappear without calling the on stopMovie, on closeWindow, or on deactivateWindow handlers.
If there are many global references to the movie in a window, the window doesnt respond to the
forget command.
Example
This statement instructs Lingo to delete the window Control Panel when the movie no longer
uses the window:
window("Control Panel").forget()
See also
close window, open window
frame() (function)
Syntax
the frame
Description
Function; returns the number of the current frame of the movie.
Example
This statement sends the playhead to the frame before the current frame:
go to (the frame - 1)
See also
go, label(), marker()
frame (sprite property)
Syntax
sprite(whichFlashSprite).frame
the frame of sprite whichFlashSprite
Description
Sprite property; controls which frame of the current Flash movie is displayed. The default value is 1.
This property can be tested and set.