|FLV to SWF?|
i have Flash Pro CS3 and am having an issue...
someone gave me a .flv file to convert to .swf... and for the life of me i cannot...
ive set all my publish settings right and it wants to play on my local desktop just fine in the html file it generated, but when i upload those files to my web server, and access it in a url, it does not play?
oh, and i have tried 3 separate 3rd party apps... and neither of them have worked...
typically what you do with a .flv is play it in a flvplayback object.
Open a new flash project.
You want to open the components window. (ctrl F7 or ->Windows -> Components)
In that window there should be a video tree... inside of the video stuff is an FLVPlayback object.
Drag it onto the stage. While it is selected open the "parameters" panel... there is a value named "source" this is where you define the flv that it will play. You can include the .flv in the project file or you can keep it as a seperate file and reference it's location on the web.
Add some player controls, like pause/play, mute, seek bar.
Hope this helps... if you have more questions or problems I can help.
Basically you don't convert the .flv to a .swf you create a .swf that uses the .flv
Tony.... just re-reading this and thought to myself it could be that what ever "conversion" you did just created a .swf file that references the .flv locally... did you upload the .flv to the server with the .swf?
It could just be that you need to upload the .flv to the server as well. Which is why it would work locally but not from the server.... the reason is as I outlined above... it most likely didn't embed the .flv in the project it just references it.
[edited by: Demaestro at 9:46 pm (utc) on Sep. 23, 2008]
Maybe U need to upload the generated SWF and FLV files to the same folder together with this page afer conversion completely. If you don't know how to do that, take a look at this step by step guide, it will teach you how to convert flv to swf for puting video on web,
Hope it helps,
[edited by: eelixduppy at 4:44 am (utc) on Jan. 6, 2009]
[edit reason] removed URL [/edit]
These are all correct, the proper way to deploy Flash video is to import or link to the .flv via Flash, which is what allows it to stream.
However, if you want to convert the video to a pure self-contained .swf that doesn't refer to an .flv, you have to embed it:
- Open new .fla
- Select File-> Import Video
- Select .flv on your computer
- On the Deployment screen, select Embed video in SWF any play in timeline
- On the Embedding screen, select all three options (place instance on stage, expand timeline if needed, embed entire video)
When done, you will have one frame containing the video and your .swf will be huge. It won't stream and will have to entirely load before it will play smoothly. This is a bit of a clunky way to deploy Flash video.