save castLib
Syntax
castLib(whichCast).save()
save castLib whichCast {,pathName&newFileName}
Description
Command; saves changes to the cast in the cast’s original file or, if the optional parameter
pathName:newFileName is included, in a new file. If no filename is given, the original cast must be
linked. Further operations or references to the cast use the saved cast member.
This command does not work with compressed files.
The save CastLib command doesn’t support URLs as file references.
Example
This statement causes Director to save the revised version of the Buttons cast in the new file
UpdatedButtons in the same folder:
castLib("Buttons").save(the moviePath & "UpdatedButtons.cst")