library.moveToFolder()
Availability
Flash MX 2004.
Usage
library.moveToFolder( folderPath [, itemToMove [, bReplace ] ] )
Parameters
A string that specifies the path to the folder in the form
folderPath
"FolderName/FolderName"
for
.
folderPath
A string that specifies the name of the item to move. If
itemToMove
specified, the currently selected items move. This parameter is optional.
A Boolean value. If an item with the same name already exists, specifying
bReplace
for the
parameter replaces the existing item with the item being moved. If
bReplace
the name of the dropped item changes to a unique name. The default value is
parameter is optional.
Returns
A Boolean value:
true
Description
Method; moves the currently selected or specified library item to a specified folder. If the
parameter is empty, the items move to the top level.
folderPath
Example
The following example moves the item Symbol_1 to the library folder new and replaces the
item in that folder with the same name:
fl.getDocumentDOM().library.moveToFolder("new", "Symbol_1", true);
library.newFolder()
Availability
Flash MX 2004.
Usage
library.newFolder( [folderPath] )
. To move an item to the top level, specify an empty string ("")
if the item moves successfully;
"FolderName"
itemToMove
otherwise.
false
or
is not
true
,
false
. This
false
library object
321
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?