Sometimes you need to change a dynamic movie dynamically depending on values from your datasource. For example, you may need to create text layers for subtitles. But because the number of subtitles, the font to use and the timing depend on the language, you would need to create a dynamic movie for each language.
Pre-render scripts allow you to modify a dynamic movie with data from the currently rendered record in the datesource. A pre-render scripts gets supplied with all the information about the job and the data, can create a temporary dynamic movie and return the name of this movie.
Pre- and Post-render scripts have access to the following variables: