Author Topic: flash only shows up in the first page (not any other page??)  (Read 1759 times)

Offline babsy

  • Posts: 337
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
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 {
            'codebase', ',0,0,0',
            'width', '100%',
            'height', '100%',
            'src', 'preview',
            'quality', 'high',
            'pluginspage', '',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'transparent',
            'devicefont', 'false',
            'id', 'preview',
            'bgcolor', '#ffffff',
            'name', 'preview',
            'menu', 'true',
            'allowFullScreen', 'false',
            'movie', 'preview',
            'salign', ''
            ); //end AC code
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",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="" />

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>
« Last Edit: June 03, 2009, 10:44:21 AM by babsy »