0
Welcome Guest! Login
0 items Join Now

Flash in Content with AC_FL_RunContent.js

  • Flash in Content with AC_FL_RunContent.js

    Posted 17 years 3 months ago
    • Hi there,

      i need flash in the content with this AC_FL_RunContent thing. I dont want a extra Module or the Joomla editor flash funktion.

      I have a script like this:

      <html lang="en">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>2</title>
      <script language="javascript"> AC_FL_RunContent = 0; </script>
      <script language="javascript"> DetectFlashVer = 0; </script>
      <script src="AC_RunActiveContent.js" language="javascript"></script>
      <script language="JavaScript" type="text/javascript">
      <!--
      //
      // Globals
      // Major version of Flash required
      var requiredMajorVersion = 8;
      // Minor version of Flash required
      var requiredMinorVersion = 0;
      // Revision of Flash required
      var requiredRevision = 0;
      //
      // -->
      </script>
      </head>
      <body bgcolor="#ffffff">
      <!--url's used in the movie-->
      <!--text used in the movie-->
      <script language="JavaScript" type="text/javascript">
      <!--
      if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
      alert("This page requires AC_RunActiveContent.js.");
      } else {
      var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
      if(hasRightVersion) { // if we've detected an acceptable version
      // embed the flash movie
      AC_FL_RunContent(
      'codebase', ' download.macromedia.com/pub/shockwave/ca....cab#version=8,0,0,0 ',
      'width', '680',
      'height', '400',
      'src', '2',
      'quality', 'high',
      'pluginspage', ' www.macromedia.com/go/getflashplayer ',
      'align', 'middle',
      'play', 'true',
      'loop', 'true',
      'scale', 'showall',
      'wmode', 'transparent',
      'devicefont', 'false',
      'id', '2',
      'bgcolor', '#ffffff',
      'name', '2',
      'menu', 'true',
      'allowScriptAccess','sameDomain',
      'allowFullScreen','false',
      'movie', '2',
      'salign', ''
      ); //end AC code
      } else { // flash is too old or we can't detect the plugin
      var alternateContent = 'Alternate HTML content should be placed here.'
      + 'This content requires the Adobe Flash Player.'
      + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
      document.write(alternateContent); // insert non-flash content
      }
      }
      // -->
      </script>
      <noscript>
      // Provide alternate content for browsers that do not support scripting
      // or for those that have scripting disabled.
      Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
      <a href=" www.macromedia.com/go/getflash/ ">Get Flash</a>
      </noscript>
      </body>
      </html>

      Where do i put the path to the Flash file. If there a workaround for this AC_FL_RunContent thingy ?

      Cheers,
      Ground.

Time to create page: 0.052 seconds