567
Examples
This statement checks the sample size of the sound cast member Voice Over and assigns the value
to the variable
soundSize
:
soundSize = member("Voice Over").sampleSize
This statement displays the sample size of the sound playing in sound channel 1 in the Message
window:
put sound(1).sampleSize
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")
See also
@ (pathname)
on savedLocal
Syntax
on savedLocal
statement(s)
end
Description
System message and event handler; This property is provided to allow for enhancements in future
versions of Shockwave.
See also
allowSaveLocal
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...