View comments | RSS feed

Window

Represents a window in which a movie is playing, including the Stage window and any other movies in a window (MIAWs) that are in use.

You can create a reference to a Window object by using the top level window() function, the Player object's window property, or the Player object's windowList property.

Note: When creating a named reference to a window by using either the top level window() function or the Player object's window property, a reference to that window is created only if a window by that name exists. If a window by that name does not exist, the reference contains VOID (Lingo) or null (JavaScript syntax).

Method summary for the Window object

Method 
close()
moveToBack()
forget() (Window)
moveToFront()
maximize()
open() (Window)
mergeProps()
restore()
minimize()

Property summary for the Window object

Property 
appearanceOptions
resizable
bgColor (Window)
sizeState
dockingEnabled
sourceRect
drawRect
title (Window)
fileName (Window)
titlebarOptions
image (Window)
type (Window)
movie
visible
name
windowBehind
picture (Window)
windowInFront
rect (Window)

 

See also

Cast Library, Member, Movie, Player, Sprite, window(), window, windowList


Comments


No screen name said on Feb 14, 2004 at 4:11 AM :
you should at least mention that windowType property is is not sopported anymore
johnnystorm0 said on Feb 15, 2004 at 3:19 PM :
The documentation is a little weak. Go here to see more details:

http://www.macromedia.com/support/director/ts/documents/
miaw_guide_dmx04.htm
Thomas Higgins said on Feb 19, 2004 at 3:44 PM :
Fair enough on the request for explicit commentary on the fact that windowType is now a deprecated window object property in favor of using the new appearanceOptions and titlebarOptions property lists. I've logged a documentation bug against this issue, thanks.

A bit of extra information: there is a movie object property named scriptExecutionStyle, if you have set this property to a value of 9 then windowType will be a fully functional property, if the property's value is set to 10 then windowType will not be recognized and you will have to use the new properties instead. Movies authored in prior releases of Director have a scriptExecutionStyle of 9, while movies authored in Director MX 2004 have a default value of 10. This was done in order to allow old movies to be opened without causing excess breaking. You are free to toggle this property's value as necessary.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/director/mx2004/release_en/02_dir14.htm