Questions:
- How do I set up the MIME type for FLASH ?
- Can you give me a working example of a FLASH movie and how to set it up ?
- To create a Flash Player movie:
Answers:
- How do I set up the MIME type for FLASH ?
You would login to your online control panel, and then CLICK on Mime Types, then load the folder that you want the MIME added to, and then add the following :)
Server Setup Requirements (All Servers)
MIME Type: application/x-shockwave-flash Suffix: .swf
- Can you give me a working example of a FLASH movie and how to set it up ?
Yes, please go here:
http://hostingcheck.com/flash/
Here you will see the following:
Index of /flash
Name Last modified Size Description
--------------------------------------------------------------------------------
Parent Directory 07-Apr-2000 18:46 -
mine.html 07-Apr-2000 18:47 1k
mine.swf 07-Apr-2000 18:47 1k
YOU need to put your CURSOR over the "mine.swf" and RIGHT CLICK on your mouse. Now choose SAVE TARGET AS
And save the file onto your computer.
Now, take that file and UPLOAD it in binary to your SERVER. Lets say you placed it directly in your web directory... so that you could access it like this:
http://yourdomain.com/mine.swf
now, create an html file with some code similar to this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="550" height="500">
<param name=movie value="images/hatshatshats.swf">
<param name=quality value=high>
<embed src="your.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="500">
</embed>
</object>
- To create a Flash Player movie:
1 Create your animation in Flash.
2 Save the Flash Movie (.fla) file.
3 Choose Export Movie from the File menu.
4 Choose Shockwave Flash from the file format pop-up menu (it is the
default type.) The file name should end in .swf so that it can
placed on a Web page with the EMBED and OBJECT tags.
Note: On the Macintosh, Flash will automatically add the .swf suffix
to the filename.
Note: Shockwave Flash is now referred to as Flash Player.
5 Be sure the MIME type is properly set up on the server.
Additional information
For additional information on MIME types please refer to How to
Configure the Server for Flash Player Movie (TechNote 4151) and How
to Configure the Server for Flash Player's MIME Type (TechNote
4159).
|