EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 882

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
882 Chapter 14: Properties
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 (
TRUE) or not (FALSE).