Hi,
here is a php file to get a random filename of a swf file from a directory. Edit the file and change the first line according to your configuration (it's the name of the directory that contains swf file).
from within a swish movie, use the usual loadvariable with get or post, it will return something like
| CODE | | &randmovie=filename.swf&ok=1 |
if there is swf files.
otherwise.
so just retrieve the content of randmovie and you got you filename.
|