Drawinglayer.drawpath(); Drawinglayer.enddraw() - 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

Description
Method; draws a quadratic curve segment starting at the current drawing position and ending at a
specified point. You typically use this method only when creating extensible tools.
Example
The following example draws a quadratic curve using the specified control points:
fl.drawingLayer.curveTo(0, 0, 2, 0);

drawingLayer.drawPath()

Availability
Flash MX 2004.
Usage
drawingLayer.drawPath(path)
Parameters
A
Path object
path
Returns
Nothing.
Description
Method; draws the path specified by the
when creating extensible tools.
Example
The following example draws a path specified by the Path object named
fl.drawingLayer.drawPath(gamePath);

drawingLayer.endDraw()

Availability
Flash MX 2004.
Usage
drawingLayer.endDraw()
Parameters
None.
Returns
Nothing.
Description
Method; exits drawing mode. Drawing mode is used when you want to temporarily draw while
the mouse button is pressed. You typically use this method only when creating extensible tools.
138
Chapter 3: Objects
to draw.
path
parameter. You typically use this method only
:
gamePath

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?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents