The web site for Flash ActionScript 3.0 game developers

 
         
   

HexSame - Problem Centering Game in Web Browser

I am having difficulty centering my game in a web browser. Any suggestions? The game can be viewed and played at:

The instructions have not yet been added but clicking on a hexagon that is adjacent to at least one other hexagon of the same color removes it and scores points.

www.hexsame.com

Here is a portion of the html code for the game

var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
// embed the flash movie
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0',
'width', '850',
'height', '500',
'src', 'hexsame',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'top',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'hexsame',
'bgcolor', '#cccc66',
'name', 'hexsame',
'menu', 'true',
'allowScriptAccess','sameDomain',
'allowFullScreen','false',
'movie', 'hexsame',
'salign', ''
); //end AC code



Copyright Gary Rosenzweig