Document.setstrokecolor(); Document.setstrokesize() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Returns
Nothing.
Description
Method; sets the color, width, and style of the selected strokes. For information on changing the
stroke in the toolbar and Property inspector, see
Example
The following example sets the color of the stroke to red, the size to 3.25, and the type to dashed:
fl.getDocumentDOM().setStroke("#ff0000", 3.25, "dashed");

document.setStrokeColor()

Availability
Flash MX 2004.
Usage
document.setStrokeColor( color )
Parameters
A color string in hexadecimal #rrggbb format (where r is red, g is green, and b is blue), a
color
hexidecimal color value (such as, 0xff0000), or an integer color value.
Returns
Nothing.
Description
Method; changes the stroke color of the selection to the specified color. For information on
changing the stroke in the toolbar and Property inspector, see
Example
The three statements in the following example set the stroke color using each of the different
formats for specifying color:
flash.getDocumentDOM().setStrokeColor("#cc00cc");
flash.getDocumentDOM().setStrokeColor(0xcc00cc);
flash.getDocumentDOM().setStrokeColor(120000);

document.setStrokeSize()

Availability
Flash MX 2004.
Usage
document.setStrokeSize( size )
122
Chapter 3: Objects
document.setCustomStroke()
document.setCustomStroke()
.
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents