WebsiteBaker Support (2.8.x) > Templates, Menus & Design
flash only shows up in the first page (not any other page??)
(1/1)
babsy:
Hi, i´m building á new template where i have a carusel flash file on the bottom in the index page in the template! with an xml file, that has the video clip links
and i shows up fine on the first page - but when i go to any other page - the swf, won´t show up??
any ideas?, i´ve tried changing the link (both universal http://www.mydomain.com/wb/templates/round/preview.swf)
and i also tried this: <?php echo TEMPLATE_DIR; ?>/preview.swf!
but it still just works on the first page?
this is the code:
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent .js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '100%',
'height', '100%',
'src', 'preview',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'preview',
'bgcolor', '#ffffff',
'name', 'preview',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'preview',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="preview" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="<?php echo TEMPLATE_DIR; ?>/preview.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#2e2e2e" /> <embed src="<?php echo TEMPLATE_DIR; ?>/preview.swf" quality="high" bgcolor="#2e2e2e" width="100%" height="100%" name="preview" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
this in between the <head></head>:
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="<?php echo TEMPLATE_DIR; ?>/AC_RunActiveContent.js" language="javascript"></script>
Navigation
[0] Message Index
Go to full version