Returns
Nothing.
Description
Method; sets the tint for the instance.
Example
The following example sets the tint for the selected instance to red with an opacity value of 50:
fl.getDocumentDOM().setInstanceTint(0xff0000, 50);
document.setSelectionBounds()
Availability
Flash MX 2004.
Usage
document.setSelectionBounds( boundingRectangle )
Parameters
boundingRectangle
parameter specifies location as left and top pixel locations and size as width and height. See
document.setSelectionRect()
Returns
Nothing.
Description
Method; moves and resizes the selection in a single operation.
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)});
document.setSelectionRect()
Availability
Flash MX 2004.
Usage
document.setSelectionRect( rect [, bReplaceCurrentSelection] )
Parameters
A rectangle object to set as selected.
rect
120
Chapter 3: Objects
A rectangle that specifies the new location and size of the selection. The
.
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?