beautypg.com

Document.getmetadata(), Document.getmobilesettings() – Adobe Extending Flash Professional CS5 User Manual

Page 130

background image

108

EXTENDING FLASH PROFESSIONAL

Document object

Last updated 5/2/2011

See also

document.addFilter()

,

document.changeFilterOrder()

,

document.setFilters()

,

Filter object

document.getMetadata()

Availability
Flash 8.

Usage

document.getMetadata()

Parameters
None.

Returns
A string containing the XML metadata associated with the document or an empty string if there is no metadata.

Description
Method; returns a string containing the XML metadata associated with the document, or an empty string if there is no
metadata.

Example
The following example displays XML metadata from the current document in the Output panel:

fl.trace("XML Metadata is :" + fl.getDocumentDOM().getMetadata());

See also

document.setMetadata()

document.getMobileSettings()

Availability
Flash CS3 Professional.

Usage

document.getMobileSettings()

Parameters
None.

Returns
A string that represents the XML settings for the document. If no value has been set, returns an empty string.

Description
Method; returns the mobile XML settings for the document.

This manual is related to the following products: