Flash Hosting: Fatal Error: null when trying to load via my FTP?

Sorry, I realize this is more of a web question than Unity-specific, but I’m hoping somebody here can point out what I’m doing wrong.

I’ve been using the flash preview export to create progress builds of my game. It’s worked great so far - I’ve been able to open up the html file generated by Unity and play the game both on my work PC and on another PC I sent the html/Swf to over email.

Tonight I’m trying to post the game online, and am having trouble. I’ve got a domain of my own, and just dropped both files into the roof of my FTP, thinking I’d just have to load up www.myDomain.com/testSwf.html. Thing is - that works, kinda. I get the Loading bar, but a red “Fatal Error: null” appears in the upper-left and that’s all she wrote.

I don’t think this is a bug with the Flash export, I think I just don’t know what I’m doing when it comes to web. =] help?

You say you uploaded “both files” - you’ll need to make sure the swfobject.js file is available on your site as well if you’re using the default html file generated by the Flash export.

That error could be anything. You’ll need to install the debug flash player and set up flash debugging to see the details of the error. Details on how to do this can be found here:

http://docs.unity3d.com/Documentation/Manual/flash-debugging.html

Once you’ve got that set up, you should be able to debug the problem by looking at the error in your flash log.