Gadgets.flash (v0.9)
From VZ Developer Wiki
This documentation is not completed yet and will be extended by more examples in future.
gadgets.flash
Embeds Flash content in gadgets.
Methods
gadgets.flash.embedCachedFlash
<static> Boolean gadgets.flash.embedCachedFlash()
- Returns
Type Description Boolean Whether the function call completes successfully
- Description
Injects a cached Flash file into the DOM tree. Accepts the same parameters as gadgets.flash.embedFlash does.
gadgets.flash.embedFlash
<static> Boolean gadgets.flash.embedFlash(swfUrl, swfContainer, swfVersion, opt_params)
- Parameters
Name Type Description swfUrl String SWF URL swfContainer String | Object The ID or object reference of an existing HTML container element swfVersion Number Minimum Flash Player version required opt_params Object An optional object that may contain any valid HTML parameter; all attributes will be passed through to the Flash movie on creation
- Returns
Type Description Boolean Whether the function call completes successfully
- Description
Injects a Flash file into the DOM tree.
gadgets.flash.getMajorVersion
<static> Number gadgets.flash.getMajorVersion()
- Returns
Type Description Number The major version of Flash Player or 0 if Flash is not supported
- Description
Detects Flash Player and its major version.
OpenSocial (v0.9) | |||
gadgets.flash |