Difference between JPG and SWF w/ XML

Hello all,

I am trying to figure something out. I am trying to load random external SWF’s using XML. I’m not having any problems loading JPG files, but the SWF’s just won’t load. Is there a difference between JPG’s and SWF’s when loading using loadMovie? Pointers to tutorials or pages in the manual would be great.

Here’s a snippet of the code:

[AS]
function firstImage() {
if (p<(total-1)) {
p=random(total);
if (loaded == filesize) {
_root.picture.loadMovie(image[p], 1);
_root.picture.play();
}
}
}[/AS]

The XML calls etc are based on the XML Gallery source.

Thanks!