Flash game works locally, not from server!

Filed Under (Graphics and Design) by admin on 25-02-2009

Hi guys, I’m pretty good with HTML and CSS. My company paid a developer to make us a flash game. If i open his directory and run the html file locally from my computer, the game runs fine. However, Once I upload them to the server, the loader counts to 100% and then nothing on the screen.

I’ve tried from Dreamweaver, FTP Voyager and Ipswitch. I tried both Binary and ASCII. I tried switching some links in the html file. Nothing has worked.

It’s entirely possible the linking is incorrect, or that the Flash uses class files that aren’t properly linking? Some Flash requires class files, which is a bit burgeonsome but is a trait of ActionScript 2/3.0.

Look through your code, both HTML and ActionScript, for any of this:

file:\C:my documentsflashsomefile.swf

Use absolute relative linking, in both the Flash and your files,

/flash/somefile.swf

Not with the CWD syntax:

../flash/somefile.swf

Should work!

Comments are closed.