gadgets.flash

Method

gadgets.flash.embedCachedFlash

Embeds Flash contents in a DOM tree. It is not currently cached, so it performs the same function as gadgets.flash.embedFlash.

Parameter

Name

Type

Description

swfUrl

String

SWF URL

swfContainer

String

Refer to the HTML container element ID or object.

swfVersion

Numebr

Minimum Flash Player version

opt_params

Object

Object that may contain valid HTML parameters. All are directly passed on during creation of a Flash movie.

Return value

Type

Description

Boolean

Whether or not it was completed normally.

Sample

gadgets.flash.embedFlash

Embeds Flash contents in a DOM tree.

Parameter

Name

Type

Description

swfUrl

String

SWF URL

swfContainer

String

Refer to the HTML container element ID or object.

swfVersion

Numebr

Minimum Flash Player version

opt_params

Object

Object that may contain valid HTML parameters. All are directly passed on during creation of a Flash movie.

Return value

Type

Description

Boolean

Whether or not it was completed normally.

Sample

gadgets.flash.getMajorVersion

Parameter

None

Return value

Type

Description

Number

The Flash player and its major version.

Sample

Revision History

  • 12/2010
    • Initial Release.

PREVIOUS

gadgets API

NEXT

gadgets.io