User Guide
225
externalParamCount()
Syntax
externalParamCount()
Description
Function; returns the number of parameters that an HTML <EMBED> or <OBJECT> tag is
passing to a Shockwave movie.
This function is valid only for Shockwave movies that are running in a browser. It doesn’t work
for movies during authoring or for projectors.
Example
This handler determines whether an <OBJECT> or <EMBED> tag is passing any external
parameters to a Shockwave movie and runs Lingo statements if parameters are being passed:
if externalParamCount() > 0 then
-- perform some action
end if
See also
externalParamName(), externalParamValue()
externalParamName()
Syntax
externalParamName(n)
Description
Function; returns the name of a specific parameter in the list of external parameters from an
HTML <EMBED> or <OBJECT> tag. This function is valid only for Shockwave movies that are
running in a browser. It cannot be used with Director movies or projectors.
• If n is an integer, externalParamName returns the nth parameter name in the list.
• If n is a string, externalParamName returns n if any of the external parameter names matches
n. The match is not case sensitive. If no matching parameter name is found,
externalParamName returns VOID.
Example
This statement places the value of a given external parameter in the variable myVariable:
if externalParamName ("swURLString") = "swURLString" then
myVariable = externalParamValue ("swURLString")
end if
See also
externalParamCount(), externalParamValue()