1 Reply Latest reply on Jun 22, 2011 2:12 PM by adninjastrator

    Flash not working when uploaded


      Hi, I have recently updated my website www.LTDesignz.com and added Flash to the home page and in all of my portfolio galleries.   When testing the site locally everything looked great, however, now  that it is uploaded to my server the Flash is not working. 

      I don't see anywhere in my HTML that it is pointing to a local  file/folder, but I would really appreciate if someone could take a look  and figure out what I'm doing wrong. 





        • 1. Re: Flash not working when uploaded
          adninjastrator Level 4

          My guess is that there are pathing issues.

          Pointing to a local folder is not the only possible pathing issue and in fact is not the most common pathing issue. The most common pathing issue is not correctly pathing Flash assets (files called in by the main .swf file), files like .xml, jpg, flv, etc. These need to be pathed relative to the WEB page and not the physical location of the .swf.

          Review the reprint of an older post for more info. If it is not a pathing issue, then it is most like a missing file, one overlooked in uploading or one that was uploaded to the wrong folder.


          For review:

          Pathing issues


          Almost always when it works on the local machine and not the server, it's a pathing problem.
          You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
          Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.

          In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
          So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
          Best wishes,
          Eye for Video



          Best wishes,