User Guide
Lingo Dictionary 139
closed
Syntax
member(whichCastMember).closed
Description
Vector shape cast member property; indicates whether the end points of a path are closed or open.
Vector shapes must be closed in order to contain a fill.
The value can be as follows:
• TRUE—the end points are closed.
• FALSE—the end points are open.
close window
Syntax
window(windowIdentifier).close()
close window windowIdentifier
Description
Window command; closes the window specified by windowIdentifier.
• To specify a window by name, use the syntax close window name, where you replace name
with the name of a window. Use the complete pathname.
• To specify a window by its number in windowList, use the syntax close window number,
where you replace
number with the window’s number in windowList.
Closing a window that is already closed has no effect.
Be aware that closing a window does not stop the movie in the window nor clear it from memory.
This command simply closes the window in which the movie is playing. You can reopen it
quickly by using the
open window command. This allows rapid access to windows that you want
to keep available.
If you want to completely dispose of a window and clear it from memory, use the
forget window
command. Make sure that nothing refers to the movie in that window if you use the
forget
window
command, or you will generate errors when scripts try to communicate or interact with
the forgotten window.
Examples
This statement closes the window named Panel, which is in the subfolder MIAW Sources within
the current movie’s folder:
window("@/MIAW Sources/Panel").close()
This statement closes the window that is number 5 in windowList:
window(5).close()
See also
forget, open window, windowList