ThefileToLoad attribute represents the file against which the next operation will be performed. Use fileToLoad when you might be keeping the player open for an extended period of time. Instead of always doing a close and then an openFile, use fileToLoad. The next action that the player performs will compare the current file to the file to load. If they are different, then the player will load the new file and perform the requested action. The player must already be opened before fileToLoad will work. Also refer to performance improvements for additional information.
For example, to set this attribute, connect the selectedItem attribute of a list box to fileToLoad.