Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2009
    Posts
    47
    Member #
    18159
    Hi there - ive been working on my site in flash and i think im getting somewhere now . I just uploaded the index page to internet but i dont know how to center it so that it shows in the middel of monitor - can someone tell what i should do. Thanks in advance. www.davivarsmaa.dk . r

  2.  

  3. #2
    Senior Member Tomaszewski's Avatar
    Join Date
    Oct 2006
    Location
    Exton, PA
    Posts
    194
    Member #
    14132
    hi! stick your flash tags in a div than give the div these properties:

    Code:
    div
    {
    
    margin: auto; width: 1050px;
    }

    Code:
    <div style="margin: auto; width: 1050px;">
    <script type="text/javascript" language="JavaScript">
    	AC_FL_RunContent(
    		'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
    		'width', '1050',
    		'height', '650',
    		'src', 'ok',
    		'quality', 'high',
    		'pluginspage', 'http://www.adobe.com/go/getflashplayer',
    		'align', 'middle',
    		'play', 'true',
    		'loop', 'true',
    		'scale', 'showall',
    		'wmode', 'window',
    		'devicefont', 'false',
    		'id', 'ok',
    		'bgcolor', '#999999',
    		'name', 'ok',
    		'menu', 'true',
    		'allowFullScreen', 'false',
    		'allowScriptAccess','sameDomain',
    		'movie', 'ok',
    		'salign', ''
    		); //end AC code
    </script><embed height="650" width="1050" align="" style="margin-left: auto; margin-right: auto;" src="ok.swf" quality="high" pluginspage="http://www.adobe.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="window" devicefont="false" bgcolor="#999999" name="ok" menu="true" allowfullscreen="false" allowscriptaccess="sameDomain" salign="" type="application/x-shockwave-flash"/>
    <noscript>
    	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="1050" height="650" id="ok" align="middle">
    	<param name="allowScriptAccess" value="sameDomain" />
    	<param name="allowFullScreen" value="false" />
    	<param name="movie" value="ok.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#999999" />	<embed src="ok.swf" quality="high" bgcolor="#999999" width="1050" height="650" name="ok" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    	</object>
    </noscript>
    </div>


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com