Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Server issues

New Here ,
May 08, 2014 May 08, 2014

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

TOPICS
ActionScript
135
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 08, 2014 May 08, 2014

What code are you using to load the files?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 08, 2014 May 08, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 08, 2014 May 08, 2014
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines