Controlling Miaw Layering; Miaw Events - Adobe 65036570 - Director - PC User Manual

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

Setting default MIAW properties using the Display Template
A movie can define the default properties of its window by using the Display Template. When a MIAW is created,
the movie's Display Template properties determine the initial state and appearance of the window. You can set the
Display Template properties through the Property inspector when authoring a movie. For more information about
the different properties, see
With a movie open in the Stage, select Window > Property Inspector.
1
Click the Display Template tab.
2
3
Set the general properties, Title bar option, and Appearance options.

Controlling MIAW layering

Use the
moveToFront()
Scripting Reference topics in the Director Help Panel.
This code moves a MIAW to the front:
window("miaw").moveToFront()
This code moves a MIAW to the back:
window("miaw").moveToBack()

MIAW events

Lingo and JavaScript syntax provide event handlers for typical events that can occur while a MIAW is playing, such
as the movement of a window by the user. Such a handler is a good place for instructions that you want to run in
response to an event that involves a window.
For example, to cause a sound to play whenever the user closes a MIAW, use the
an
handler in a movie script within the movie that plays in the window. The
on closeWindow
handler will run whenever the MIAW that contains the handler closes.
Each handler in the following list is followed by the event that triggers it:
A user moves the movie's window.
on moveWindow
A user resizes the movie's window.
on resizeWindow
The minimize or maximize box of a movie's window is pressed.
on zoomWindow
The movie's window is opened.
on openWindow
The movie's window is closed.
on closeWindow
on activateWindow
on deactivateWindow
A dockable MIAW in authoring is revealed.
on revealWindow
A a dockable MIAW in authoring is collapsed.
on collapseWindow
on activateApplication
on deactivate Application
Controlling the appearance of a
and
methods. For more information about these methods, see the
moveToBack()
A movie's window is activated.
A movie's window is deactivated.
The entire application has been activated.
The entire application has been deactivated.
MIAW.
queue()
ADOBE DIRECTOR 11.0
User Guide
and
methods in
play()
on closeWindow
400

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents