Symbolitem.sourceautoupdate, Symbolitem.sourcefilepath – Adobe Extending Flash Professional CS4 User Manual
Page 455

433
EXTENDING FLASH CS4 PROFESSIONAL
SymbolItem object
Example
The following example specifies the locations of the 9-slice guides:
fl.getDocumentDOM().library.items[0].scalingGridRect = {left:338, top:237, right:3859,
bottom:713};
See also
symbolItem.sourceAutoUpdate
Availability
Flash MX 2004.
Usage
symbolItem.sourceAutoUpdate
Description
Property; a Boolean value that specifies whether the item is updated when the FLA file 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 as a file:/// URI. The path must be an absolute path, not
a relative path. This property is 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);