How to insert flash a banner

How to insert flash a banner

The file of the SWF format, being placed on the web page, provides considerably big degree of interactivity, than the normal image. If clicking the picture can cause only click-through, then the Flash-applet can change the behavior when moving on it of an arrow, etc. Instruction 1. Do not try to use for a SWF file insert in the HTML-code the tag. It is intended only for images of classical raster formats: JPG, PNG and GIF. For work with Flash-applets it is not adapted - the attempt of its use in this quality will lead to an error. 2. Place the desirable SWF file on the server in the same folder, as the HTML-file, or in another, located within your user space. The way of copying of the file on the hard drive of the server depends on conditions of providing service of a hosting. FTP or loading through a form on the web page is usually used. 3. In the right place of the page place the following fragment: where myflashfile.swf - a name of file which you wish to place. If it is in other folder of the server, instead of a file name it is necessary to use a full path to it. 4. If at the visitor of the website is absent or Flash Player is disconnected, when clicking a rectangle which will be displayed instead of an applet, he will automatically receive the offer to download the player, and in case of consent will be redirected on the page with which it can be loaded. The visitor using service of Opera Turbo will see the button on the place of an applet, having clicked which, will be able to browse it. If desired it is possible to make that at the users who do not have an opportunity to browse files of the SWF format instead of such file the animated image of the GIF format of the same contents and permission was automatically displayed. For this purpose it is necessary to use a hosting on which the content management system is started (CMS - content managament system). It should automatically determine if whether at the visitor of the website Flash Player and to generate for it the page in which the corresponding object is placed: if SWF, then with use of the design described above, and if GIF, then using the normal tag Certainly, it is previously necessary to create the corresponding animated GIF file and to place it on the server.

Author: «MirrorInfo» Dream Team


Print