Parameters
persistentDraw
last frame remains on the Stage until a new
context, frame refers to where you start and end drawing; it does not refer to Timeline frames.)
For example, when users draw a rectangle, they can preview the outline of the shape while
dragging the mouse. If you want that preview shape to remain after the user releases the mouse
button, set
persistentDraw
Returns
Nothing.
Description
Method; puts Flash in drawing mode. Drawing mode is used for temporary drawing while the
mouse button is pressed. You typically use this method only when creating extensible tools.
Example
The following example puts Flash in drawing mode:
fl.drawingLayer.beginDraw();
drawingLayer.beginFrame()
Availability
Flash MX 2004.
Usage
drawingLayer.beginFrame()
Parameters
None.
Returns
Nothing.
Description
Method; erases what was previously drawn using the drawingLayer and prepares for more drawing
commands. Should be called after
drawingLayer.beginFrame()
you call the next
and end drawing; it does not refer to Timeline frames.) You typically use this method only when
creating extensible tools.
136
Chapter 3: Objects
A Boolean value (optional). If set to
to
.
true
drawingLayer.beginDraw()
and an
and
beginFrame()
endFrame()
true
or
beginDraw()
beginFrame()
drawingLayer.endFrame()
. (In this context, frame refers to where you start
, it indicates that the drawing in the
call is made. (In this
. Everything drawn between
remains on the Stage until
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?