Flash 8.
document.getMetadata()
None.
A string containing the XML metadata associated with the document or an empty string if there is no metadata.
Method; returns a string containing the XML metadata associated with the document, or an empty string if there is no metadata.
The following example displays XML metadata from the current document in the Output panel:
fl.trace("XML Metadata is :" + fl.getDocumentDOM().getMetadata());