Plugin_Director Property

 

Type: Integer

 

Returns an integer indicating whether the visitor’s browser has the Macromedia Director (shockwave) plug-in installed. The returned value will be one of the following:

0: The Director plug-in is not installed

1: The Director plug-in is installed

-1: It is not possible to detect if the plug-in is installed

 

Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires either the Professional or Enterprise Edition of BrowserHawk.

 

Tip: See the extproperties.asp example located in your BrowserHawk directory for detailed information and examples on using this property.

 

Example:

<% set bhObj = Server.CreateObject("cyScape.browserObj")

bhObj.SetExtProperties "plugin_director"

bhObj.GetExtPropertiesEx

%>

<html>Macromedia Director is:

<%

mdir = bhObj.Plugin_Director

if mdir = -1 then

PropVal = "Not detectable"

elseif mdir = 0 then

PropVal = "Not installed"

else

PropVal = "Installed"

end if

response.write PropVal

%>

</html>

 

Special notes for this property:

 

See Also:

Plugin_DirectorVerEx Property

Plugin_Flash Property

GetExtPropertiesEx Method

SetExtProperties Method