Plugin_Flash Property

 

Type: Integer

 

Returns the version of the visitor’s Macromedia Flash plug-in if installed. If it is not possible to detect if the plug-in is installed, -1 is returned. If the plug-in is not installed, 0 is returned. Otherwise the version of Flash installed is returned (for example, 4).

 

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_flash"

bhObj.GetExtPropertiesEx

%>

<html>Macromedia Flash is:

<%

flash = bhObj.Plugin_Flash

if flash = -1 then

PropVal = "Not detectable"

elseif flash = 0 then

PropVal = "Not installed"

else

PropVal = "Version " & flash

end if

response.write PropVal

%>

</html>

 

Special notes for this property:

 

See Also:

Plugin_FlashVerEx Property

Plugin_FlashBlocked Property

Plugin_Director Property

GetExtPropertiesEx Method

SetExtProperties Method