User Guide
296 Chapter 3: Objects
Parameters
The outputURI parameter is a string that specifies the URI for the SWF file to which the method
will export the symbol. This URI must reference a local file. Flash will not create a folder if the
specified path doesn’t exist.
Returns
Nothing.
Description
Method; exports the symbol item to a SWF file specified by a URI.
Example
The following example exports an item in the library to the my.swf file in the tests folder:
fl.getDocumentDOM().library.items[0].exportSWF("file:///c|/tests/my.swf");
symbolItem.sourceAutoUpdate
Availability
Flash MX 2004.
Usage
symbolItem.sourceAutoUpdate
Description
Property; a Boolean value. If true, the item is updated when the FLA is published. The default
value is
false. Used for Shared Library symbols.
Example
The following example sets the sourceAutoUpdate property for a library item:
fl.getDocumentDOM().library.items[0].sourceAutoUpdate = true;
symbolItem.sourceFilePath
Availability
Flash MX 2004.
Usage
symbolItem.sourceFilePath
Description
Property; a string that specifies the path for the source FLA file in URI format (file:///). Must be
an absolute path, not a relative path. Used for Shared Library symbols.
Example
The following example shows the value of the sourceFilePath property in the Output panel:
fl.trace(fl.getDocumentDOM().library.items[0].sourceFilePath);