How to post a flash on the website

How to post a flash on the website

HTML-rod displaying a website flash elements considerably differs from the similar code for normal images. Besides procedures of an insert of the elements of design of the website executed on a flash technology and simple graphic elements have very small distinctions.

Instruction

1. Begin with loading of the file a flash roller on the server of the website. It is the simplest to make the file manager with use - it allows to load and unload files on the server directly via the browser. Such option is in the control panel of any hosting provider. Management systems of the websites have such unit in standard sets too. But if constantly you plan to be engaged in loading/unloading of files on servers of the websites, then pick up the resident program better - the FTP-client. These programs for functionality are similar to the standard conductor of Windows - are engaged in the organization and movement of files between your computer and the server for the FTP protocol (File Transfer Protocol). It is not difficult to find in network both paid options, and free. Certainly, they will demand time for search, jump and installation and also mastering and input of settings for work with your FTP-server.

2. After loading you need to prepare the HTML-code for an insert a flash roller in the source code of the page of the website. Open any text editor (for example, a notepad) and if you have any specialized code editor - even better. Create the new document and enter in it these tags of the HTML language (HyperText Markup Language - "hypertext markup language"): <object classid= ""clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"" of codebase= ""http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"" of width= "" 468"" height= "" 60" of" align= "" middle"">
<param name= "" movie"" value= "" flash.swf""/>
<param name= "" wmode"" value= "" opaque"">
<embed src= "" flash.swf"" quality= "" high" of" wmode= "" opaque" of" width= "" 468" of" height= "" 60" of" align= "" middle" of" allowScriptAccess= "" sameDomain" of" type= "" application/x-shockwave-flash"" of pluginspage= ""http://www.macromedia.com/go/getflashplayer""/>
</object> Use this code as a template for your roller. Here in two places width and height a flash object - width= "" 468"" height= "" 60"" are specified. Find them and replace with the values corresponding to the sizes of yours a flash file. Also in two places the name of this file - value= "" flash.swf"" and src= "" flash.swf is specified"". Replace both names with a name of your file.

3. Now you should insert the prepared code into the source code of the page. Open the necessary page in the editor of a management system of the website and if you do not use a management system, then download the file of the page and open in the same editor in whom prepared the code for an insert. In a case with the editor of a management system - having opened the page, switch it from the visual mode to an editing mode of the source code. Then find that place in the code of the page where you want to see the flash object, copy the prepared HTML-code and insert it here. After that save the changed page. If it was downloaded by you from the server - load it back the same the file-menendzherom or the FTP-client.

Author: «MirrorInfo» Dream Team


Print