Placing a Flash movie in arbitrary directory

Complex Flash movies are often consist of several files: main swf file (movie itself), and dynamically-loaded movies, external ActionScript scripts, images, etc.

By default, Flash Player searches all accompanying files, paths to which are specified in relative form inside movie, in the same directory (folder) that contains webpage that the movie is embedded to. However it’s often more convenient and rational to place Flash movie and all accompanying files into a separate directory.

To keep movie working in such cases, it’s enough to supply the corresponding Flash object with the base parameter. Value of the parameter should contain path to directory that contains the Flash movie and other files needed for the movie:

<param name="base" value="/dir/with/files/" />

Detailed information on this and other parameters of Flash movies is available in Adobe’s online documentation.