Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 739
  • Last Modified:

Need to change resolution of flash site and add ability to scroll

The flash site at www.richbourgcpa.com/main.swf is formated for a resolution slightly larger than 1024x768.  Users on 800x600 just get a cropped version of the site.  Hoe do I change the resolution format of the site in Macromedia Flash to 800x600, and/or add a scroll to the site so that users can scroll the page instead of getting a cropped version of the site.
0
murryc
Asked:
murryc
  • 4
  • 3
1 Solution
 
kamermansCommented:
You need to embed the flash in an html page to be able to see the scrollbars, like this:

<html
<head>
<title>Main Page</title>
</head>
<body>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="jpgrotator" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.richbourgcpa.com/main.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="http://www.richbourgcpa.com/main.swf" menu="false" quality="high" bgcolor="#FFFFFF" width="800" height="600" name="main.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>

0
 
murrycAuthor Commented:
works great, but how do you get the website to stay in the middle of the browser on reaolutions larger than 800 x 600?  
0
 
kamermansCommented:
<html
You can wrap it in a table like this:

<head>
<title>Main Page</title>
</head>
<body>
<table width="100%" height="100%"><tr><td>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="jpgrotator" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.richbourgcpa.com/main.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="http://www.richbourgcpa.com/main.swf" menu="false" quality="high" bgcolor="#FFFFFF" width="800" height="600" name="main.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</tr></td></table>
</body>
</html>
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
kamermansCommented:
Ooops, this line:

</tr></td></table>

should be like this:

</td></tr></table>
0
 
murrycAuthor Commented:
The site is still justified to the left of the browser window on higher resolutions, inside of being centered.  However, you answered my question so I need to award you points.  If you want to provide more help with the centering of the site then that would  be okay too.

Thanks!
0
 
kamermansCommented:
put align="center" in the first <td> like this:

<td align="center">
0
 
murrycAuthor Commented:
perfect!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now