How to insert flash on the page

How to insert flash on the page

Digital Hits: 74

Sometimes there is a wish to recover the website a flash-element, to add interactivity or the movement. Forces are applied, the basic is made, the remarkable flash-roller is ready, it is necessary to insert it on the website.

Instruction

1. Add the flash-object with the swf extension on your website or on the website supporting loading and use of files of this format.

2. Insert into a HTML page the code <object classid= ""clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"" of codebase= ""http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"" of width= "" roller width"" height= "" the roller height of"" align= "" middle""> <param name= "" movie"" value= "" the link to a flash-roller""> <param name= "" quality"" value= "" high""> <embed src= "" the link to a flash-roller of"" quality= "" high" of" pluginspage= ""http://www.macromedia.com/go/getflashplayer"" of type= "" application/x-shockwave-flash"" of width= "" roller width"" height= "" the roller height of"" align= "" middle""> </embed> </object>

3. Study the <object> element. In it classid is the address of the program which will start this object, codebase - a folder path of the object specified in classid, alignment of an element - align, and width and height, respectively, width and height of a flash-roller.

4. Consider the <param> element. It is necessary for parameter passing of an object. name is a name of passed-in parameter, and value - its value. The movie parameter with the address of a flash-roller and quality with quality of demonstration is transferred in the above-stated code.

5. Find the <embed> element. It is used actually for the same, as the <object> element. It is added as some browsers do not display the necessary information by means of the <object> element. Respectively, all information is duplicated: src - the link to a flash-roller, quality - quality of demonstration, pluginspage - the address of the program for viewing, type - a file type, width - width of a roller, height - height of a roller, align - alignment.

6. Define and add other parameters necessary for you, for example, background color for a roller: <param name= "" bgcolor"" value= ""#000000""> and so forth.

Author: «MirrorInfo» Dream Team

Print