RSS Training

print E-mail RSS Bookmark us Share

Feed Training

Login to access more blogs

Putting a Flash Player File on XLsuite

Posted by Lee Down on 11-08-2008        Rating: rating rating rating rating rating

Tags: none

The Liquid Code

{% flash url: 'http://some-url.com/control.swf' width: 100 height: 50 version: 7 bgcolor: '#ffffff' %}

Generates HTML code to play a Flash file, similar to this:

<object id="__ID" width="__WIDTH" height="__HEIGHT" align="__ALIGN"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=__VERSION,0,0,0"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param value="__URL" name="movie"/>
<param value="high" name="quality"/>
<param value="__BGCOLOR" name="bgcolor"/>
<embed width="__WIDTH" height="__HEIGHT" align="__ALIGN" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" allowscriptaccess="sameDomain" me="__ID" bgcolor="__BGCOLOR" quality="high"
src="__URL"/>
</object>

Available Parameters

  • align: The control's alignment. See the HTML documentation for details of the accepted values. Defaults to middle.
  • bgcolor: The control's background color. Defaults to #000000, and it set as a parameter on the OBJECT tag, and on EMBED.
  • height: The control's height, set both on the OBJECT and the EMBED tag.
  • id: An HTML ID set on the OBJECT tag.
  • url: The URL from which to download the Flash file. Generates a PARAM on the OBJECT as well as set the SRC attribute of the EMBED tag.
  • version: Which Flash version to require. Must be a single digit, representing the major version. Defaults to 7.
  • width: The control's width, set both on the OBJECT and the EMBED tag.

Comments(0)

Make a comment