document.match()
Availability
Flash MX 2004.
Usage
document.match( bWidth, bHeight [, bUseDocumentBounds] )
Parameters
A Boolean value that, when set to
, causes the method to make the widths of
bWidth
true
the selected items the same.
A Boolean value that, when set to
, causes the method to make the heights of
bHeight
true
the selected items the same.
A Boolean value that, when set to
, causes the method to match
bUseDocumentBounds
true
the size of the objects to the bounds of the document. Otherwise, the method uses the bounds
of the largest object. The default is
. This parameter is optional.
false
Returns
Nothing.
Description
Method; makes the size of the selected objects the same.
Example
The following example matches the width of the selected objects only:
fl.getDocumentDOM().match(true,false);
The following example matches the height only:
fl.getDocumentDOM().match(false,true);
The following example matches the width only to the bounds of the document:
fl.getDocumentDOM().match(true,false,true);
See also
,
document.getAlignToDocument()
document.setAlignToDocument()
124
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?