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

Page 172

Advertising
background image

150

EXTENDING FLASH CS4 PROFESSIONAL

Document object

Description
Method; sets the value of an XML settings string in a mobile FLA file. (Most mobile FLA files have an XML string that
describes the settings within the document.)

Example
The following example sets the XML settings string for a mobile FLA file. Note that the example below represents a
single line of code.

fl.getDocumentDOM().setMobileSettings("<? xml version="1.0" encoding="UTF-16" standalone="no"

?> <mobileSettings> <contentType id="standalonePlayer" name="Standalone Player"/>
<testDevices> <testDevice id="1170" name="Generic Phone" selected="yes"/> </testDevices>
<outputMsgFiltering info="no" trace="yes" warning="yes"/> <testWindowState height="496"
splitterClosed="No" splitterXPos="400" width="907"/> </mobileSettings>");

See also

document.getMobileSettings()

document.setOvalObjectProperty()

Availability
Flash CS3 Professional.

Usage

document.setOvalObjectProperty(propertyName, value)

Parameters

propertyName

A string that specifies the property to be set. For acceptable values, see the Property summary table for

the

Oval object

.

value

The value to be assigned to the property. Acceptable values vary depending on the property you specify in

propertyName.

Returns
Nothing.

Description
Method; specifies a value for a specified property of primitive Oval objects.

Example
See individual properties in

Oval object

for examples.

See also

Oval object

,

shape.isOvalObject

Advertising