Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
According to Adobe I should be able to use Flash to import the flv file and re-export it as a .swf format, which I was able to do with a little work. Now here is where it gets weird. The .swf file will only play and work in a page or in a folder as long as the .flv version it was created from is also present. It doesn't have to be installed in the page, it just has to be present in the same directory as the .swf file.
If I delete the .flv file out of the directory the .swf version of the file will no longer work. It won't work when it is inserted into the site or even if you just double click it and try and look at with Flash Player on the desktop. If I put the .flv file back .swf will work again. My question is that these are totally different formats, why does the .flv version of the file need to be in the same directory for the .swf version to work? This is driving me crazy, if anyone has any ideas why these two files are linked I would appreciate it.
That is, for whatever reason, it's still a "linked" .flv and not actually embedded in the .swf. If you want to do it this way, you can just open a new .fla, import the video, drop it in the timeline, and set controls to play. This is not the greatest approach because it needs to load the whole thing (including the entire video.) It's the external linking that allows it to stream.
That is, for whatever reason, it's still a "linked" .flv and not actually embedded in the .swf.
You are dead on, that is exactly what happened. After I made the initial post I kept screwing around with the file and discovered that what you said is totally correct. When I imported it and then re-exported it the .swf file was created, but the .swf didn't actually have any content so to speak in it. It somehow still needed the .flv file to read from.
I am not a Flash developer so I don't really understand all of this, but once I used another third party application that said it would convert .flv into .swf files to actually convert the file it worked. The third party tool somehow pulled the content out of the .flv file and/or converted it into the .swf file, it also made it about half the size of the .flv file without any quality loss on the video, which was a bonus I wasn't expecting. In case anyone is having the same problem the software I found is called SWF & FLV Toolbox 3.5 by Eltima Software Company. It cost about 39 bucks or so.
I guess I can chalk this up to another hard won lesson in doing video for the web.