JavaScript error

Discussion in 'Forum Support' started by x42bn6, Jan 31, 2008.

  1. x42bn6

    x42bn6 Retired Staff

    Joined:
    Nov 11, 2002
    Messages:
    15,150
    Likes received:
    2
    Trophy points:
    38
    From:
    London, United Kingdom
    Minor thing, but there's a problem:

    Code:
      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
    =9,0,0,0',
          'width', '728',
          'height', '90',
          'src', 'BattleForums',
          'quality', 'high',
          'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
          'align', 'middle',
          'play', 'true',
          'loop', 'true',
          'scale', 'showall',
          'wmode', 'window',
          'devicefont', 'false',
          'id', 'BattleForums',
          'bgcolor', '#212937',
          'name', 'BattleForums',
          'menu', 'false',
          'allowFullScreen', 'false',
          'allowScriptAccess','sameDomain',
          'movie', 'BattleForums',
          'salign', ''
          ); //end AC code
      }
    Change to:

    Code:
      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=9,0,0,0',
          'width', '728',
          'height', '90',
          'src', 'BattleForums',
          'quality', 'high',
          'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
          'align', 'middle',
          'play', 'true',
          'loop', 'true',
          'scale', 'showall',
          'wmode', 'window',
          'devicefont', 'false',
          'id', 'BattleForums',
          'bgcolor', '#212937',
          'name', 'BattleForums',
          'menu', 'false',
          'allowFullScreen', 'false',
          'allowScriptAccess','sameDomain',
          'movie', 'BattleForums',
          'salign', ''
          ); //end AC code
      }
    or:

    Code:
      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',
    '=9,0,0,0',
          'width', '728',
          'height', '90',
          'src', 'BattleForums',
          'quality', 'high',
          'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
          'align', 'middle',
          'play', 'true',
          'loop', 'true',
          'scale', 'showall',
          'wmode', 'window',
          'devicefont', 'false',
          'id', 'BattleForums',
          'bgcolor', '#212937',
          'name', 'BattleForums',
          'menu', 'false',
          'allowFullScreen', 'false',
          'allowScriptAccess','sameDomain',
          'movie', 'BattleForums',
          'salign', ''
          ); //end AC code
      }
    Depending on the function AC_FL_RunContent which I'm too lazy to figure out how it works, either one is right. The current one has a syntax error.*
     
  2. concrete_sox

    concrete_sox Premium Respected Member

    Joined:
    Jan 28, 2006
    Messages:
    3,717
    Likes received:
    7
    Trophy points:
    0
    noob bot is trying to scam ppl by ripping off spybot