Forums

Someone please help. Flash embed links not working in sidebar.php (4 posts)

  1. edpirone
    Member
    Posted 3 years ago #

    Ok if this has been answered somewhere then just point me there but I couldn't find this in the forum. Lots of flash stuff but not a case like this necessarily. Sooooo. here are the links. http://www.plantnj.com/diary The navigation bar on the right works great other then the fact that none of the buttons will really link to anywhere. It should work like the nav on http://www.plantnj.com I have this code

    <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" title="navigation" width="167" height="680">
    <param name="movie" value="http://www.plantnj.com/assets/navigation.swf"/>
    <param name="quality" value="high" />
    <embed src="http://www.plantnj.com/assets/navigation.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="167" height="680" >
    </embed></object>

    in the sidebar.php file. People have said the embed tags are not necessary but last time I checked it was necessary for Firefox. If I am wrong correct me. I am dying here. Someone let me know what comma I am missing please. PS Also I couldnt use java for some reason. Normally I would post it by putting this code...

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

    But I cant use that code because of java. Soooo I am wonderin if it is not working because the AC_runblah blah file isnt included?

  2. edpirone
    Member
    Posted 3 years ago #

    Had embedded wrong. here is the right way.

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="someID" width="167" height="680">
    <param name="movie" value="http://www.plantnj.com/assets/navigation.swf">
    <param name="bgcolor" value="#000000">
    <param name="allowScriptAccess" value="always">
    <param name="allowFullScreen" value="true">
    <param name="name" value="someValue">
    <param name="wmode" value="transparent">
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="http://www.plantnj.com/assets/navigation.swf" width="167" height="680">
    <!--<![endif]-->
    <img src="preview.gif" alt="Preview">
    <p>
    Download the flash player</p>
    <!--[if !IE]>-->
    <param name="bgcolor" value="#000000">
    <param name="allowScriptAccess" value="always">
    <param name="allowFullScreen" value="true">
    <param name="name" value="someValue">
    </object>
    <!--<![endif]-->
    </object>

  3. edgunther
    Member
    Posted 3 years ago #

    I followed this example and finally got Flash working in my sidebar at http://guntherportfolio.com

    However, it works with Firefox but not IE7 or Chrome. I tried a number of WordPress plugins but none worked. Here is my code:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="someID" width="125" height="125">
    <param name="movie" value="http://guntherportfolio.com/wp-content/themes/gunther/img/EUbanner_small_linked.swf ">
    <param name="bgcolor" value="#000000">
    <param name="allowScriptAccess" value="always">
    <param name="allowFullScreen" value="false">
    <param name="name" value="someValue">
    <param name="wmode" value="transparent">
    <!--[if !IE]>-->

    <object type="application/x-shockwave-flash" data="http://guntherportfolio.com/wp-content/themes/gunther/img/EuPDbanner_small.swf " width="125" height="125">
    <!--<![endif]-->
    <img src="preview.gif" alt="Preview">
    <p>Download the flash player</p>
    <!--[if !IE]>-->
    <param name="bgcolor" value="#000000">
    <param name="allowScriptAccess" value="always">
    <param name="allowFullScreen" value="false">
    <param name="name" value="someValue">
    </object>
    <!--<![endif]-->
    </object>

  4. Holymonkey
    Member
    Posted 3 years ago #

    I'm guessing you have the actionscript for the navigation set to "_self". I'm looking everywhere to fix the same problem... When I change the banners I made to open in "_blank" it works perfectly in any browser, change it to anything other than "_blank" and they dont respond to clicks at all. :(

Topic Closed

This topic has been closed to new replies.

About this Topic