Hi,
I’m trying to use SWFObject to embed an swf file and am a little lost.
I’ve used the documentation and the code generator to get code. Here’s where I’m at.
How to I call the flash movie? I’m obviously missing what goes in the body to get the movie to show.
Any help would be appreciated.
Thanks!
Dana
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{exp:weblog:info weblog="{my_weblog}"}{blog_title}{/exp:weblog:info}</title>
<link rel='stylesheet' type='text/css' media='all' href='{stylesheet={my_template_group}/site_css}' />
<style type='text/css' media='screen'>@import "{stylesheet={my_template_group}/site_css}";</style>
var flashvars = {};
var params = {};
var attributes = {};
attributes.id = "gallery";
swfobject.embedSWF("http://www.marjigallery.com/ParticleTransition-XML.swf", "myAlternativeContent", "299", "300", "8.0.0", false, flashvars, params, attributes);
</head>
<body>
<table width="930" border="0" align="center" cellpadding="0" cellspacing="0">
{embed="site/header"}
<tr>
<td width="290" valign="top" id="galleryCell">
{exp:weblog:entries weblog="static" entry_id="4" dynamic="off"}
<div id="Gentext">
<div id="myAlternativeContent">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</div>
</div>
