Dynadot โ€” .com Registration $8.99

Flash websites adjusting to screen sizes

Spaceship Spaceship
Watch

evermore2000

Established Member
Impact
7
Hi,

I was wondering if Flash websites adjust to screen sizes the way html sites do?

I was on a PC yesterday which has (im guessing) a 19" screen. When I went on my website (www.unsigned.fm) it looked totally different. The background expanded to the size of the screen as I believe this is html but the main bit of the site which is all Flash stayed small so it didnt look too good.

Is there any way of making it adjust to the screen size?

Many thanks

Rob
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
anyone?
 
0
•••
Yes they do. If in say Dreamweaver you specify a % as a height, and a % as a width, then it will automatically resize depending on your screen size / resolution. Hope that helps.
 
0
•••
At first I was unsure of what to answer to this question, so I took it upon myself to see if it were indeed possible to have a flash dynamically expand with the browser window. After a minute of testing, the simple answer to this is yes. Assuming you are using code similar to this to insert your Flash:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%">
<param name="movie" value="button1.swf">
<param name="quality" value="high">
<embed src="button1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%" ></embed>
</object>

You will see I have already adjusted the widths and heights of both the <object> tag and the <embed> tag. This is because IE will render any object in according to its <object> tag. FireFox, however, is the smarter browser and requires the width and height also be applied to the <embed>'ed file.

Hope this helps.
 
0
•••
100% value for height and width attribute in <object> and <embed> tags works only in IE. Firefox displays original size only. And Opera comes with nothing except sound. Now i am curious to know how to do it correctly. Anyone here have answer?
 
0
•••
Unstoppable Domains
Domain Recover
DomainEasy โ€” Live Options
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back