Flash banner information, creation and HTML embedding

What are Flash banners?

Flash banners are animated files in Macromedia Flash format. These files can be displayed in a website with a plugin . The Flash files, or Flash films too, offer many different kinds of animation with a small data file size. Here you see an example of a Flash banner, created with our generator:


In 468x60 Pixel (standard size) or 234x60 Pixel (half size)

The modern kind of Flash banners integration in HTML pages

In XHTML the embed tag is not supported anymore and using it creates a non-valid, not DTD conform XHTML file. But using the object tag in Mozilla, Netscape & Co.? Yes, it works - with the data attribute and a few other modifications in the original example by Macromedia (the attributes classid and codebase, which other browsers but the IE do not explain correctly, are eliminated):

<object type="application/x-shockwave-flash" data="myNewBanner.swf" width="468" height="60" id="xy">
   <param name="movie" value="myNewBanner.swf" />
   <param name="loop" value="false" />
   <param name="menu" value="false" />
   <param name="scale" value="exactfit" />
   <param name="quality" value="high" />
   <param name="bgcolor" value="#FFFFFF" />

Include Flash banners in HTML pages in the conventional way

Banners in Flash format with ending .swf are a bit more difficult to include because the HTML code is a lot more complex and the browsers interprete it variably. Mozilla based browsers use the embed tag, on the other hand, the MS Internet Explorer prefers the object tag. But they offer on principle the option to adapt the background. Modify the values in BOTH bgcolor attributes! That´s because it is necessary to write a HTML construct which supports both browser types. For that purpose, you have to convulute the embed tag with the object tag, e.g.:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="468" height="60" id="myMovieName">
   <param name="movie" value="myNewBanner.swf">
   <param name="quality" value="high">
   <param name="bgcolor" value="#FFFFFF">
      <embed src="myNewBanner.swf" quality="high" bgcolor="#FFFFFF" width="468" height="60" name="myMovieName" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer">

More Flash infos and tips

Tech-notes by Macromedia about HTML integration of Flash films or Flash banner:
Macromedia Flash OBJECT and EMBED tag syntax
Macromedia Flash OBJECT and EMBED tag attributes

The probably biggest Flash community with many gratis offers, as tutorials about diverse film examples or free of charge usable sound effects or loops: Flashkit!

Read here how to include the graphic banner for free and more informations about Flash banners on our Banner-Generator help.

© open-eye Data Privacy Policy