MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 542

Director scripting reference
Table of Contents

Advertisement

end
// JavaScript syntax
function ShowCastProperties(whichCast) {
i = 1;
while( i < (castLib(whichCast).member.count) +1 ) {
castType = member(i, whichCast).type;
if ((castType = "flash") || (castType = "vectorShape")) {
trace (castType + " cast member " + i + ": " + member(i,
whichCast).name) + \n;
member(i ,whichCast).showProps();
i++;
}
}
}
See also
queue(),
setPlayList()
showGlobals()
Usage
-- Lingo syntax
_global.showGlobals()
// JavaScript syntax
_global.showGlobals();
Parameters
None.
Description
Global method; displays all global variables in the Message window.
This method is useful for debugging scripts.
Example
This statement displays all global variables in the Message window:
-- Lingo syntax
on mouseDown
_global.showGlobals()
end
// JavaScript syntax
function mouseDown() {
_global.showGlobals();
}
See also
Global
542
Chapter 12: Methods

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