<preload>

Preloads one or more files so that they will run more smoothly when subsequently called.

These can be video, image or audio files.

Writes the name of the most recently preloaded file into a variable named last_preloaded.

If <next_node> is defined, the application will advance to it after each file has finished preloading. This is useful to track which file or files have preloaded, for example.

If a file to preload is not found, the next file preload will begin and the application will proceed to the <error_node> if one is defined.

Child of: <node name=""/>
Parent of: <file>, <next_node>, <error_node>

Examples:

<preload>
            <file>my_video_1.mp4</file>
            <file>my_video_2.mp4</file>
            <file>my_video_3.mp4</file>
            <next_node>node_a</next_node>
            <error_node>error_node</error_node>
</preload>

All pending preloads may be manually stopped and cleared by using STOP as follows:

<preload>STOP</preload>