views:

318

answers:

1

Hi

I have a 1 frame main SWF. In the first frame I include codeAS2.as like so:

#include "codeAS2.as" (sorry, might sound primitive)

When I test the movie in Flash CS4, everything works fine, it loads all the data from the XML file menu.xml which is in the same folder. Using the Simulate Download function from Flash, it also runs fine, with not one error, everything loads.

Now comes the headscratcher, once I upload it and run it, it does not work. The server is a Linux box and I work on a Mac.

Everything I load externally is in the same folder as the SWF, so I have no absolute paths, all relative to the SWF. Can this be some sort of sandbox issue?

Here is the url: virleo(underscore)new.html SWF: virleo(underscore)new.swf Code: codeAS2.as (inline code) and Menu.as (class)

A: 

Question like yours was answered many times. I remember one yesterday. I don't have link but you should change one option. Look after it in File>Publish Settings.. Should appear window. Go to "Flash" tab and change "Local playback security" option to "Access network only". Should work.

Konrad