Extending Flash |
|
|
|
| Objects > Document object > document.distributeToLayers() | |||
Flash MX 2004.
document.distributeToLayers()
None.
Nothing.
Method; performs a distribute-to-layers operation on the current selection--equivalent to selecting Distribute to Layers. This method displays an error if there is no selection.
The following example distributes the current selection to layers:
fl.getDocumentDOM().distributeToLayers();
|
|
|
|