A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Gallery not loading

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    3

    Gallery not loading

    Hello everyone.

    I have a gallery of photos made and i have this little problem.
    When i run the files from my pc it works just fine but when i upload it to my server it doesn't run . It stacks at preloaders (wherever they are).

    What could it be going wrong ?

    The gallery uses an xml file for loading externally the files.

    Any help would be appreciated.
    If anyone needs the files to help me please give me an email to send them.

    Thanks in advance

  2. #2
    Senior Member
    Join Date
    May 2008
    Posts
    332
    If it works on your local machine but not on the server, the problem is almost always a pathing issue. For example, if you place the gallery on a web page that is not in the same directory as the .swf, you are, in effect, removing the .swf from that directory. It's relative position has changed in regards to both the .xml file and any photos uses. To test for pathing problems, create a test web page with the .swf on it and place it in the same folder as the .swf on the server (assuming you uploaded the the flash files in the same folders you had them in on your local machine). If that works, then the problem is that the .swf does not have the correct address to the .xml when moved outside of the original folder. Correct the address to the xml file to be relative to the new location on the web page. Depending on how you are treating the photo urls, you may also have to change their addresses in the xml file.
    Best of luck on this one,
    EfV

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    3
    It was indeed a path problem . I had missed a path .
    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center