Controlling The Appearance Of A Miaw; Listing The Current Movies In Windows - MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual

Table of Contents

Advertisement

To scale a MIAW:
Set the
drawRect
apply the position to the window, as shown in the following example:
set aRect = [0, 0, 200, 300]
set window("Sample").drawRect = aRect -- sets window size to 200 x 300
set window("Sample").drawRect = aRect/2 -- scales the window to half its
original size
When the
drawRect
window appears in the upper left corner, and the movie is compressed to fit within the window.
See
in the Lingo Dictionary.
drawRect

Controlling the appearance of a MIAW

You can use Lingo commands and properties to control whether a window is visible, is in front of
or behind other windows, and has a title. For more information, see the Lingo Dictionary.
To specify whether the window is visible:
Set the window's
window opens, use the
then open the window when it needs to be visible. See
Lingo Dictionary.
To control whether a movie appears in front of or behind other windows:
Use the
moveToFront
Lingo Dictionary.
To assign a title to a window:
Set the
title

Listing the current movies in windows

The
windowList
For example, the following statement displays a list of current MIAW names in the
Message window.
put the windowList
See windowList in the Lingo Dictionary.
property to coordinates that are smaller than the MIAW's original size and
property specifies a window rectangle that is smaller than the movie, the
window property. To avoid a potential time lag when the
visible
preLoadMovie
and
moveToBack
window property. See
title
property displays a list of all known MIAWs in the main movie.
command to preload the movie before it's needed and
visible (window property)
commands. See
moveToFront
in the Lingo Dictionary.
in the
and
in the
moveToBack
Movies in a Window 541

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx

Table of Contents