Gadgets.flash (v0.9)
NeedsExamples
gadgets.flash
Embeds Flash content in gadgets.
Methods
gadgets.flash.embedCachedFlash
;<static> Boolean gadgets.flash.embedCachedFlash()
Returns
TypeDescription |
key |
|
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
NameTypeDescription |
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
TypeDescription |
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
TypeDescription |
Number |
The major version of Flash Player or 0 if Flash is not supported |
Description
Detects Flash Player and its major version.
{{ JsApiAlphaList_(v0.9) }}