Document.unlockallelements(); Document.viewmatrix - 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

Example
The following example ungroups the elements in the current selection:
fl.getDocumentDOM().unGroup();

document.unlockAllElements()

Availability
Flash MX 2004.
Usage
document.unlockAllElements()
Parameters
None.
Returns
Nothing.
Description
Method; unlocks all locked elements on the currently selected frame. See
Example
The following example unlocks all locked objects in the current frame:
fl.getDocumentDOM().unlockAllElements();

document.viewMatrix

Availability
Flash MX 2004.
Usage
document.viewMatrix
Description
Read-only property; a
document space when the document is in edit mode. The mouse location, as a tool receives it, is
relative to the object that is currently being edited.
For example, if you create a symbol, double-click to edit it, and draw with the polyStar tool, the
point (0,0) will be at the registration point of the symbol. However, the drawingLayer object
expects values in document space, so if you draw a line from (0,0) using the drawingLayer, it will
start at the upper left corner of the Stage. The
space of the object being edited to document space.
Example
The following example gets the value of the
var mat = fl.getDocumentDOM().viewMatrix;
Matrix
object. The
viewMatrix
viewMatrix
is used to transform from object space to
provides a way to transform from the
viewMatrix
property:
.
element.locked
Document object
133

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