Skip to main content
Known Participant
May 8, 2014
Question

Server issues

  • May 8, 2014
  • 1 reply
  • 164 views

Hi guys,

I've written a program that loads jpg's and mp3's from folders

It works fine when loading in Flash Professional on my mac, however when i upload it to a server the files won't load properly, i.e only about 30% of them will load

I've tried 3 different servers and had the same issue

Can anyone help?

Cheers

Chris

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
May 8, 2014

What code are you using to load the files?

Known Participant
May 8, 2014

in a loop:

var loader:Loader = new Loader();

addListeners(loader.contentLoaderInfo);

loader.load(new URLRequest(url));

The weird thing is it worked before I changed 3 of the pictures it worked fine. I re-edited 3 of the pictures and saved them in the same format using the same files names and it managed to break it

Ned Murphy
Legend
May 8, 2014

I would be suspicious of the images... they might be corrupted.  You should try adding an error catching bit of code to see if/what error are occuring.