Solved

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

Posted on 2006-10-20
7
723 Views
Last Modified: 2008-01-09
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
Comment
Question by:murryc
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
kamermans earned 250 total points
ID: 17778208
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
 

Author Comment

by:murryc
ID: 17789619
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
 
LVL 13

Expert Comment

by:kamermans
ID: 17789894
<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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 13

Expert Comment

by:kamermans
ID: 17789900
Ooops, this line:

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

should be like this:

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

Author Comment

by:murryc
ID: 17850442
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
 
LVL 13

Expert Comment

by:kamermans
ID: 17852278
put align="center" in the first <td> like this:

<td align="center">
0
 

Author Comment

by:murryc
ID: 17852352
perfect!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWAY 3d Using BitMapCubeTexture 1 418
flash cs6 4 347
Firefox fullscreen video lags 4 171
File conversion question 5 119
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to record live broadcast.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question