# Windows Mac Compatibility

**URL:** <https://forum.kirupa.com/t/windows-mac-compatibility/109303>\
**Category:** Uncategorized\
**Created:** [May 4, 2004, 12:02pm UTC](https://forum.kirupa.com/t/windows-mac-compatibility/109303 "2004-05-04T12:02:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat\_Begg](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@Pat\_Begg](https://forum.kirupa.com/u/Pat_Begg)\
**Post date:** [May 4, 2004, 12:02pm UTC](https://forum.kirupa.com/t/windows-mac-compatibility/109303/1 "2004-05-04T12:02:04Z")

</div>

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](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
