MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 882

Director scripting reference
Table of Contents

Advertisement

Note: For more customized control such as snapping back to the origin or animating while dragging,
create a behavior to manage the additional functionality.
This property can be tested and set.
Example
This handler makes sprites in channel 5 moveable:
on spriteMove
sprite(5).moveableSprite = TRUE
end
This statement checks whether a sprite is moveable and, if it is not, displays a message:
if sprite(13).moveableSprite = FALSE then
member("Notice").text = "You can't drag this item by using the mouse."
See also
mouseLoc
movie
Usage
-- Lingo syntax
windowObjRef.movie
// JavaScript syntax
windowObjRef.movie;
Description
Window property; returns a reference to the movie object that is playing in a specified window.
Read-only.
Example
This statement displays in the Message window the movie object that is playing in the window
named Empires:
-- Lingo syntax
trace(window("Empires").movie)
// JavaScript syntax
trace(window("Empires").movie);
See also
Window
multiSound
Usage
the multiSound
Description
System property; specifies whether the system supports more than one sound channel and
requires a Windows computer to have a multichannel sound card (
882
Chapter 14: Properties
) or not (
).
TRUE
FALSE

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