MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 923

Director scripting reference
Table of Contents

Advertisement

picture (Window)
Usage
-- Lingo syntax
windowObjRef.picture
// JavaScript syntax
windowObjRef.picture;
Description
Window property; provides a way to get a picture of the current contents of a window—either the
Stage window or a movie in a window (MIAW). Read-only.
You can apply the resulting bitmap data to an existing bitmap or use it to create a new one.
If no picture exists, this property returns
Example
This statement grabs the current content of the Stage and places it into a bitmap cast member:
-- Lingo syntax
member("Stage image").picture = _movie.stage.picture
// JavaScript syntax
member("Stage image").picture = _movie.stage.picture;
See also
Window
platform
Usage
the platform
Description
System property; indicates the platform type for which the projector was created.
This property can be tested but not set.
Possible values are the following:
Possible value
Macintosh,PowerPC
Windows,32
For forward compatibility and to allow for addition of values, it is better to test the platform by
using
.
contains
(Lingo) or
VOID
Corresponding platform
PowerPC Macintosh
Windows 95 or Windows NT
(JavaScript syntax).
null
platform
923

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Director mx 2004

Table of Contents