Windows Mac Compatibility

Hi all,
Got a problem with some random movie loading script, it works fine on a PC, loading a random movie out of a list when entering a frame, but on a Mac the random movie will not automatically display, however when one of the buttons if clicked it will load the movie.

This is the code:

filename = [“aerial_pic_1.swf”, “aerial_pic_2.swf”, “aerial_pic_3.swf”];
path = “http://www.charlesward.com\”;
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(path+filename[k], _root.main_image);

Any ideas anyone? this is the last bug in the project.
Much appreciated anyone that can help, adios

path = "http://www.charlesward.com/"; 

works on Mac;)

scotty(-:

Oh, when you go to the ‘photography’ link you will see about 8 links at the bottom of the screen i.e. architecture, aerial etc. when you click on these one of the thumbnails on the righthand side should load automatically, does it do this?
And to be cheeky, all of the thumbanils link to a fullsize movie, each with a pre-loader, the preloaders work fine when the thumbnails are clicked, but when the random movie loads it shows ‘NaN%’ and the full progress bar instead of counting up…any ideas?

Pat

Nope…
I copied the code you gave in your first post and that didn’t work, but after changing the address in

path = "http://www.charlesward.com/";

it worked:) (including preloader)
I guess when I look at your site it still the old code?

scotty(-: