Segment.Load
The Load method reads the segment into memory from a file or resource and makes it available for playback.
object.Load
Parts
object
Required. Object expression that resolves to a Segment Object.
Remarks
This method has no effect if content is loaded automatically when the script is loaded, as specified by the script properties assigned in DirectMusic Producer. If content is not loaded automatically, none of the segment's other methods are available until Segment.Load has been called.
Loading occurs synchronously, blocking execution of the script until the segment is loaded.
The segment is unloaded automatically when the application frees the script.