1 Reply Latest reply on May 13, 2012 7:17 AM by adninjastrator

    video help needed for almost total newbie please

    itsmesothere

      If anyone can help you'll save me from a nervous breakdown!

       

      I really am practically a newbie in Flash, so while i have come to realise that maybe I have a "pathing error" I have no idea what that IS or how to fix it. So I need really simple instructions please.

       

      Anyway, while I have found plenty of tutorials that tell me how to import a video into Flash, and convert it from avi to flv, and put it into a frame and give it a skin and stuff, I am not able to make the next logical step and actually USE this file. If I export it as a swf it will indeed play while I still have Flash open, but once I close the program it does not play. It's not even there to see, you just get an empty flash player box, unless I have coloured the background or something. THAT shows. The video does not.

       

      Even if I could find a fla file somewhere that actually plays so I can see how it was put together that might help.

       

      It seems like the video is in the library but when you shut Flash the library is closed too so the file can't be found.

       

      How do I actually merge the video with the background so the whole thing is exported into a swf file or other useable file?

       

      yours in desperation

      Angelrat

        • 1. Re: video help needed for almost total newbie please
          adninjastrator Level 4

          Are you using the FLVPlayback component to play the video in Flash? and you have given that a "skin"?

          Are you then Publishing an HTML Web page with should have the Flash on it but doesn't?

          A pathing error comes about when the FLVPlayback component (the .swf), can't find the .flv file.... so of course the video doesn't play.

          This often happens when subfolders are used to store either the .swf and/or the .flv file in a different folder than the HTML Web page.

          The trick to using subfolders is to remember that once the .swf (the video player) is placed on a Web page, you are in effect moving the .swf to the same folder as the Web page and hence must have the path to the .flv file relative to that Web page, NOT the physical location of the .swf.

          So let's say you have your main Web site root folder and one sub folder called "Flash"... inside that is the .swf and the .flv.

          If you create a path inside the .swf diectly to the .flv ....."contentPath" = "my_video.flv" it will play just fine when testing directly in Flash....which is NOT a good sign.

          Then if you take that same .swf and code it in on a Web page that is outside that "Flash" subfolder.... the .swf is still expecting the .flv to be in the same folder that the .swf is in... not some subfolder...

          But in reality, the path from the Web page to the .flv now become "Flash/my_video.flv.

          You can edit the path by clicking on the FLVPlayback component and then down in the "Parameters" panel edit "contentPath" and path it relative to the Web page, NOT the actual location of the .swf.

          And note, once correctly pathed relative to the Web page, testing the .swf directly in Flash.... will NOT display the video, since the .swf is now pathed to work on the Web page, not as a stand alone .swf.

          Hope this helps clear up any "pathing" issues you may have.

          Best wishes,

          Adninjastrator