Old 01-31-2008, 09:06 PM   #1 (permalink)
*shakes fist*
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: London, United Kingdom
Age: 19
Posts: 14,669
JavaScript error

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.*
__________________
* Avatar is Aya Matsuura, whose music is awesome.

Has nothing to do with the post, but yeah...
x42bn6 is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:07 PM.


Copyright 2002-2008 BattleForums.com | Kinkarso Tech Limited | Proudly hosted by HostBright.net || Advertise
Live Internet TV | StarCraft II | Final Fantasy | Buy Wow Accounts | Starcraft 2 | Free Halo 3 Forum | FREE Image Host | WoW Powerleveling
Affiliates:


Spin doctors are responsible for creating a positive image for any given situation. Sometimes they are skilled, sometimes they are lucky. It is the same as when you spin that roulette wheel. Sometimes it is your "doctor's" skill, but mostly it is the luck of the spin.