flash movie doesnt work on 2nd and 3rd level pages

r_davies

Sorry to double-post, but to give everyone an idea of just how weird this problem is, I can add the flash object to a page from the admin control panel using absolute references and it works fine, but I can then move this page to be under a folder, and it stops working, despite the fact that all the references to both the .swf file and .js are absolute.  It doesn't seem possible that such a problem could exist!

Here is the code I am using:

Quote<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','800','height','150','src','flash/about','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/about'; ); //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=7,0,19,0" width="800" height="150">
                   <param name="movie" value="http://www.example.com/templates/mytemplate/flash/about.swf" />
                   <param name="quality" value="high" />
                   <embed src="http://www.example.com/new/templates/mytemplate/flash/about.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="150"></embed>
               </object>
               </noscript>

r_davies

*Bump*

I'm having exactly the same problem outlined here, and use more or less exactly the same method (using the AC_RunActiveContent.js) and the same <object> <embed> and <param> tags described above.

It is a very odd problem, because I know the code WB is generating is correct.  I can even view source and alt-tab between two pages which are identical (aside from the url and the <title>), the only difference between the pages is one is in a subfolder.

The references to both the .swf and .js files are correct, which is why this is so puzzling.

dfhectik

     

Its really strange, even when i delete the value and src for the flash movie in the index.php, the movie still plays



      <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','750','height','152','title','fla','src','banner','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','banner'; ); //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=9,0,28,0" width="750" height="152" title="fla">
        <param name="movie" value="" />
        <param name="quality" value="high" />
        <embed src="" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="750" height="152"></embed>
      </object></noscript>
    </div>

dfhectik


Sorry my initial post was inaccurate, Its the 2nd and third level pages that dont work and the first level does work. But why should it matter. They should all work as all pages should be using the same absolute urls i have put into the index.php. Both the activate flash movie script and the banner.swf
use an absolute url.

ruebenwurzel

Hello,

you use for your home page another template with another path to your javascript.  :wink:

Matthias

dfhectik

#1
I can only get my flash movie to work on first level pages. It doesnt work on second and 3rd level pages, i have placed this code in the index.php using absolute urls. Has any one overcome this bug yet?

Heres the website, Notice the head banner flash only works on pages controlled by the first level nav,

http://echpl.com.au/wb/


<script src="http://echpl.com.au/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>


      <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','750','height','152','title','fla','src','banner','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','banner'; ); //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=9,0,28,0" width="750" height="152" title="fla">
        <param name="movie" value="http://echpl.com.au/banner.swf" />
        <param name="quality" value="high" />
        <embed src="http://echpl.com.au/banner.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="750" height="152"></embed>
      </object></noscript>