1 Reply Latest reply on Feb 4, 2011 7:01 AM by adninjastrator

    Problems Importing a Flash Video to a Web Page


      I am having a problem getting my flash file to work on my webpages. I first converted the original .avi to a .flv format,then I imported the.flv into flash. It has a skin because I wanted the users to be able to stop and pause the video. When I test the file outside of the web page it works fine.  The skin file, the .flv and the .swf are all in the same folder. But when i Upload the webpage , the flash does not play online.  If i preview in design mode, the flash file plays. Although with out the skin.  Now if i open the flash file outside of the webdesign software it opens in a web browser and all works. Yes I am a newbie to all this. I have been reading books, using tutorials on youtube.com and all to self teach myself.

        • 1. Re: Problems Importing a Flash Video to a Web Page
          adninjastrator Level 4

          Could be a number of things but most likely if it works on your local machine but not on the server, it's a pathing issue. So you have all your flash related files in the same folder, correct? But are they all in the same folder as the web page? They do not have to be, any of the Flash related files can be in whatever folders you want, just remember to path the elements relative to the Web page, NOT the physical location of the Flash file. From an old post:


          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. But if sticking them in there worked, then you know that the issue was a pathing problem.
          Just remember that paths become relative to the Web page on which those Flash files are used. So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root, 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, etc), the path used inside the .swf to the .xml file has to be relative to it's new location in root and 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.
          So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the files wherever you want.
          Best wishes,
          Eye for Video


          Best wishes,