MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 622

Director scripting reference
Table of Contents

Advertisement

Example
These statements display movie information in the Message window.
-- Lingo syntax
trace(_movie.aboutInfo)
// JavaScript syntax
trace(_movie.aboutInfo);
See also
copyrightInfo
actionsEnabled
Usage
-- Lingo syntax
memberOrSpriteObjRef.actionsEnabled
// JavaScript syntax
memberOrSpriteObjRef.actionsEnabled;
Description
Cast member property and sprite property; controls whether the actions in Macromedia Flash
content are enabled (
This property can be tested and set.
Example
This handler accepts a sprite reference as a parameter, and then toggles the sprite's
actionsEnabled
-- Lingo syntax
on ToggleActions(whichSprite)
sprite(whichSprite).actionsEnabled = \
not(sprite(whichSprite).actionsEnabled)
end
// JavaScript syntax
function ToggleActions(whichSprite) {
switch(sprite(whichSprite).actionsEnabled) {
case 0:
sprite(whichSprite).actionsEnabled = 1;
break;
case 1:
sprite(whichSprite).actionsEnabled = 0;
break;
}
}
622
Chapter 14: Properties
(Movie),
Movie
default) or disabled (
TRUE,
property on or off.
).
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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents