Listing The Current Miaws; Controlling Interaction Between Miaws - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

For more information, see the Scripting Reference topics in the Director Help Panel.

Listing the current MIAWs

The
windowList
the following statement displays a list of current MIAW names in the Message window:
put_player.windowList
For more information about this property, see the Scripting Reference topics in the Director
Help Panel.

Controlling interaction between MIAWs

MIAWs can interact with other MIAWs by accessing a window's movie property. With a
window's movie, a user can access the movie's handlers, variables, members, and so on.
Here are a couple of examples:
window("other MIAW").movie.member(1).name = "changed name"
or
window("other MIAW").movie.someHandler()
Global variables can be declared in the main movie (the Stage) or in a MIAW. No matter where
they are declared, they are available to the main movie and to all MIAWs. For more information
about global variables, the Scripting Reference topics in the Director Help Panel.
A MIAW can also interact with the main movie via
For example:
window("stage").movie.member(1).name = "changed name"
or
window("stage").movie.someHandler( )
property displays a list of all known MIAWs in the main movie. For example,
.
window("stage")
Controlling interaction between MIAWs
417

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents