beautypg.com

Document.setmobilesettings() – Adobe Extending Flash Professional CS4 User Manual

Page 171

background image

149

EXTENDING FLASH CS4 PROFESSIONAL

Document object

Simple title

Simple description

2004-10-12T10:29-07:00

Flash Authoring WIN 8,0,0,215

In the second example, metadata is in tags, but with different schemas all in one

rdf:Description

tag. This example

also includes comments, which will be ignored and discarded by the

Document.setMetadata()

:

Simple title

Simple description

2004-10-12T10:29-07:00

Flash Authoring WIN 8,0,0,215

In the third example, metadata is in attributes, and different schemas are all in one

rdf:Description

tag:

dc:description='Simple description' />

xmp:CreateDate='2004-10-12T10:29-07:00' xmp:CreatorTool='Flash Authoring WIN 8,0,0,215' />

See also

document.getMetadata()

document.setMobileSettings()

Availability
Flash CS3 Professional.

Usage

document.setMobileSettings(xmlString)

Parameters

xmlString

A string that describes the XML settings in a mobile FLA file.

Returns
A value of

true

if the settings were successfully set;

false

otherwise.