Upload Flash Animation to Server

Upload Flash Animation to Server

Posted by: victor5
Posted on: 2008-07-08 22:02:00

I am UBER green so I have completely lame questions...sorry. I just got this service and I have no idea how to use it. I went to the Wiki and it's just so comprehensive and confusing that it would take me for ever to figure out how to do something I suspect is ultimately very easy.

So here it is, I am going through a tutorial and it says the following "You will need to upload your flash animation, the swf file, to some server." So that's what I'm trying to do. Ultimately the flash animation will be places in a Blogger header.

So I need some simple "Village Idiot Proof" instructions. Anyone up for helping me or pointing me towards where I can get help?

thanks all.

V5

Re: Upload Flash Animation to Server

Posted by: electrickrypt
Posted on: 2008-07-09 03:57:00

I would also like to learn how to stream/embed flash videos, too. I am having troubles with QuickTime streaming so this may be another solution for me.

I know you need two files, .swf and .flv. I think one is the video itself and one is the code for the flash design, or some sort. You need to create both for yourself, I think. Then when you embed the stream code, you point to both. I am not quite sure about all this, but that is as far as I got. I also have had trouble on finding a nice tutorial on creating flash videos and properly getting them to stream on a site. What confused me the most is having the two files.

I am looking forward to a helpful response or maybe a nice pointer to head in the right direction.

-electrickryptEdited by electrickrypt on 07/09/08 04:00 AM (server time).

Re: Upload Flash Animation to Server

Posted by: sXi
Posted on: 2008-07-11 08:00:00

In reply to:

"You will need to upload your flash animation, the swf file, to some server."


Simply FTP the file into a folder at your domain.


Example: Uploading file.swf

Login via FTP
Navigate to your domain.com folder
Create a folder called SWF
Upload file.swf into that folder

The link to the file will be http://domain.com/SWF/myfile.swf


Re: Upload Flash Animation to Server

Posted by: silkrooster
Posted on: 2008-07-11 16:31:00

In reply to:


I would also like to learn how to stream/embed flash videos, too. I am having troubles with QuickTime streaming so this may be another solution for me.


DH does not has a flash server for streaming flash videos.

In reply to:


I know you need two files, .swf and .flv. I think one is the video itself and one is the code for the flash design, or some sort. You need to create both for yourself, I think. Then when you embed the stream code, you point to both. I am not quite sure about all this, but that is as far as I got. I also have had trouble on finding a nice tutorial on creating flash videos and properly getting them to stream on a site. What confused me the most is having the two files.


This will depend on how you create the files as Adobe flash can embed the flv file into a single swf file but is meant for smaller files.
When publishing from Adobe flash, flash will create the swf, html and javascript files for you. Just copy them with the flv(if you choose to keep them seperate) to a folder. Now copy the html from the file that flash created to your web page. Edit the location of the files if necessary. Once you upload the web page the html page flash created is no longer needed.

Tip:
Create a loader swf file that contains an image (convert to button) and this code:

this.stop();
addEventListener(MouseEvent.CLICK, player);
function player(event:MouseEvent): void
{
var request:URLRequest = new URLRequest("http://www.example.com/example.swf");/*edit this link to point to your movie's swf file and remove everything after the semi colon on this line just in case*/
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
removeEventListener(MouseEvent.CLICK, player);
}

This will allow the viewer to see your web page without downloading the video until they click on the image(to be nice to dial up users). Make sure you convert the image to a button.
As I mentioned above streaming is not possible.
I hope this helps,
Silk


My website

Re: Upload Flash Animation to Server

Posted by: silkrooster
Posted on: 2008-07-11 17:05:00

I should mention that the above code is for CS3.
Silk

My website

Tags: flash animationswf filewikiidiot proof