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?
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?
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.
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).
Bookmarks