Document.setrectangleobjectproperty() – Adobe Extending Flash Professional CS5 User Manual
Page 172
150
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Parameters
version
A string that represents the version of Flash Player targeted by the specified document. Acceptable values are
"FlashLite"
,
"FlashLite11"
,
"FlashLite20"
,
"FlashLite30"
,
"1"
,
"2"
,
"3"
,
"4"
,
"5"
,
"6"
,
"7"
,
"8"
,
"9"
,
"
FlashPlayer10
", and "
AdobeAIR1_1
".
Returns
A value of
true
if the player version was successfully set;
false
otherwise.
Description
Method; sets the version of the Flash Player targeted by the specified document. This is the same value as that set in
the Publish Settings dialog box.
Example
The following example targets Flash Player 6 as the player version for the current document:
fl.getDocumentDOM().setPlayerVersion("6");
See also
document.setRectangleObjectProperty()
Availability
Flash CS3 Professional.
Usage
document.setRectangleObjectProperty(propertyName, value)
Parameters
propertyName
A string that specifies the property to be set. For acceptable values, see the Property summary table for
.
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 Rectangle objects.
Example
See individual properties in
See also
,