Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
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...
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
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]
[edited by: eelixduppy at 4:44 am (utc) on Jan. 6, 2009]
[edit reason] removed URL [/edit]
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.