Description
Method; converts the selected Stage item(s) to a new symbol. For information on defining
linkage and shared asset properties for a symbol, see
Example
The following examples create a movie clip symbol with a specified name, a button symbol
with a specified name, and a movie clip symbol with a default name:
newMc = fl.getDocumentDOM().convertToSymbol("movie clip", "mcSymbolName",
"top left");
newButton = fl.getDocumentDOM().convertToSymbol("button", "btnSymbolName",
"bottom right");
newClipWithDefaultName = fl.getDocumentDOM().convertToSymbol("movie clip",
"", "top left");
document.crop()
Availability
Flash 8.
Usage
document.crop()
Parameters
None.
Returns
A Boolean value:
true
Description
Method; uses the top selected drawing object to crop all selected drawing objects underneath
it. This method returns
items are not drawing objects.
Example
The following example crops the currently selected objects:
fl.getDocumentDOM().crop();
See also
document.deleteEnvelope()
,
document.union()
90
Objects
if successful;
false
if there are no drawing objects selected or if any of the selected
false
,
document.intersect()
shape.isDrawingObject
Item
object.
otherwise.
,
document.punch()
,
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers