MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 156

Extending flash
Table of Contents

Advertisement

Parameters
boundingRectangle
For information on the format of
bContactSensitiveSelection
Sensitive selection mode is enabled (
default value is
false
Returns
Nothing.
Description
Method; moves and resizes the selection in a single operation.
If you pass a value for
doesn't affect the Contact Sensitive selection mode for the document (see
fl.contactSensitiveSelection
Example
The following example moves the current selection to 10, 20 and resizes it to 100, 200:
var l = 10;
var t = 20;
fl.getDocumentDOM().setSelectionBounds({left:l, top:t, right:(100+l),
bottom:(200+t)});
See also
document.selection
document.setSelectionRect()
Availability
Flash MX 2004;
bContactSensitiveSelection
Usage
document.setSelectionRect(rect [, bReplaceCurrentSelection
[, bContactSensitiveSelection]])
Parameters
A rectangle object to set as selected. For information on the format of
rect
document.addNewRectangle()
156
Objects
A rectangle that specifies the new location and size of the selection.
boundingRectangle
A Boolean value that specifies whether the Contact
) or disabled (
true
.
bContactSensitiveSelection
).
,
document.setSelectionRect()
.
, see
document.addNewRectangle()
) during object selection. The
false
, it is valid only for this method, and
parameter added in Flash 8.
.
, see
rect

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