WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • flash only shows up in the first page (not any other page??)
  • Print
Pages: [1]   Go Down

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

Offline babsy

  • Posts: 337
flash only shows up in the first page (not any other page??)
« on: June 02, 2009, 12:38:00 PM »
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>
« Last Edit: June 03, 2009, 10:44:21 AM by babsy »
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • flash only shows up in the first page (not any other page??)
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2