MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 147

Extending flash
Table of Contents

Advertisement

Returns
Nothing.
Description
Method; sets the stroke settings for the Tools panel, Property inspector, and any selected
shapes. This allows a script to set the stroke settings before drawing the object, rather than
drawing the object, selecting it, and changing the stroke settings. It also lets a script change
the Tools panel and Property inspector stroke settings.
Example
The following example changes the stroke thickness setting in the Tools panel, Property
inspector, and any selected shapes:
var stroke = fl.getDocumentDOM().getCustomStroke();
stroke.thickness += 2;
fl.getDocumentDOM().setCustomStroke(stroke);
See also
document.getCustomStroke()
document.setElementProperty()
Availability
Flash MX 2004.
Usage
document.setElementProperty( property
Parameters
A string that specifies the name of the Element property to set. For a complete
property
list of properties and values, see
You can't use this method to set values for read-only properties, such as
element.elementType
An integer that specifies the value to set in the specified Element property.
value
Returns
Nothing.
,
"Property summary for the Element object" on page
,
, and
element.top
element.left
value )
.
193.
Document object
147

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents