-- Lingo syntax _player.externalParamCount // JavaScript syntax _player.externalParamCount;
Player property; returns the number of parameters that an HTML <EMBED> or <OBJECT> tag is passing to a movie with Shockwave content. Read-only.
This property is valid only for movies with Shockwave content that are running in a browser. It doesn't work for movies during authoring or for projectors.
For more information about the valid external parameters, see externalParamName() and externalParamValue().
This handler determines whether an <OBJECT> or <EMBED> tag is passing any external parameters to a movie with Shockwave content and runs Lingo statements if parameters are being passed:
-- Lingo syntax
if (_player.externalParamCount > 0) then
-- perform some action
end if
// JavaScript syntax
if (_player.externalParamCount > 0) {
// perform some action;
}
externalParamName(), externalParamValue(), Player