View Full Version : Is there a resizing script for this problem?
Is there a script to make my .swf movie, 1000 x 600 px, reduce to fit a 800 x 600 screen but stay at 1000 x 600 on a larger screen?
Medyman
10-29-2008, 11:01 PM
Use percentages for the width/height in your embed code.
Thank you for responding, I think that would work for reducing the size of the movie but if it comes up on a bigger screen than 1000 x 600, wouldn't the movie be distorted?
I was wondering if there was some scripting to allow reduction but not enlargement.
Medyman
10-30-2008, 01:14 PM
It depends on how you would do it. I'd suggest setting the Flash player to be 100% height and width. Then surround it with a container and style the container flexibly.
Set a max-width and max-height and the Flash movie won't ever exceed that. I think that'll give you what you're looking for without having to deal with messy scripts.
You could do it via JavaScript though. At least, I think so (I'm a JS novice).
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.