3 Replies Latest reply on Mar 16, 2011 8:12 AM by adninjastrator

    Having trouble getting an FLV to stream/play on top of Flash content in the timeline....


      Flash Community,

      I have a Flash video (FLV file) that I am trying to import, place and  stream out of/on top of a timeline/flash movie.  I have successfully  done this before - but on a new project I am working on - I am having  trouble making it work at all.

      So my FLA/SWF that is acting as a container file where the video plays on top of it is here:  http://www.divaliciousapp.com/flash/main.html

      In Flash I did File/Import Video and I imported the flv video and placed  it right on top of that rotating picture of the fashion models.  Flash  shows me a placeholder for the video on that layer on top of the  rotating image - and I place and upload the video right into the same  directory as the swf file (I have done this before with other projects  and it worked).  But for some reason, the video does not show up at all  on the web page (should be in the upper right hand corner of the  rotating fashion image)...

      Any ideas/suggestions?  Oh and the original video file is an H.264 but I  convert it into an FLV using the Adobe CS5 Media Encoder before i  import it in. 

      I would love to know what you all think!


        • 1. Re: Having trouble getting an FLV to stream/play on top of Flash content in the timeline....
          adninjastrator Level 4

          Looks like you might have missed setting the correct params for the video player.

          Down in the "Properties Panel", double check your skin and contentPath to ensure that the player has a skin and can find the .flv.

          Oh... and by the way.. you can put any of your Flash assets into whatever/as many different folders as you want... as long as you path them correctly.

          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,


          • 2. Re: Having trouble getting an FLV to stream/play on top of Flash content in the timeline....
            andrewpweyrich Level 1

            Thank you for the tips - I made some progress but it still is not working right.


            After I did Import Video - this time I tried the 'Embedd in the timeline' - then Flash warned me that the audio and video synchronization may be off - and sure enough - it is way off...but this time the video showed up and did play - that is progress because I could not get it to show up last time...




            I dont want to do this embed into timeline option.  I need it to stay a separate file.  I made sure that the skin/player files moved over but I still could not get the video to appear - I am at a loss....do note that the video is pretty large - like 30MBs.  I wonder if that is because it has not loaded all the way?   But it should stream as a separate file and show up right away right?


            I am not sure what I am doing wrong...

            • 3. Re: Having trouble getting an FLV to stream/play on top of Flash content in the timeline....
              adninjastrator Level 4

              Yeah I agree, you really don't want to embed the video in the timeline...

              If getting the video to play is a problem, maybe you should create a new, blank Flash doc and just get the video working there first.

              Be sure to build it in the same folder structure that you will be using on the server, and test it locally before uploading to your server. Once you get a working model, then incorporate that into your main project.


              Best wishes,