Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resizing Flash Movies

Status
Not open for further replies.

webgs

Programmer
Oct 30, 2001
59
US
I've created a Flash movie to play at full screen when opened. The movie size is set to 1280X1024. When played on a system that is set to any other resolution, it creates white borders to the right and left of the movie instead of stretching it to fit. I need the movie to work for different resolutions like 1024X768, 1152X864, 1280X960, and 1400X1054. Do I need to go in and reset the movie size and adjust all of my elements manually for each desired resolution? Is there a one size fits all technique I can use?

Any help would b appreciated. Thank you!
 
Try scaling the width & height parameters in the <object> and <embed> tags. Set them all to 100% rather than 1280*1024.
Next maybe add the following bold in your body tag:

<BODY bgcolor=&quot;#999999&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot; TOPMARGIN=&quot;0&quot; LEFTMARGIN=&quot;10&quot; RIGHTMARGIN=&quot;0&quot; BOTTOMMARGIN=&quot;0&quot; SCROLL=&quot;NO&quot;... your other parameters...>

The SCROLL=&quot;NO&quot;, will rid you of the right scrollbar, and the rest of the window's small surrounding border.

Regards,
new.gif
 
Thank you for the suggestion. I'm going to be using the Flash movie to create a screen svaer using ScreenTime for Flash. HTML would not apply in this case. Any other suggestions?
 
Nope! Never went higher than 1024*768 myself!
Wouldn't this be related to a screen ratio problem designing at that resolution?
You are using FSCommand & fullscreen aren't you?

Only other thing I could suggest is to add a filled rectangle background widely overlapping the stage area...
But doubt that would change anything...

Regards,
new.gif
 
Yes, I am using FSCommand and fullscreen. The filled rectangle would be good but I'm using a background image. Thanks for the help oldnewbie.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top