Skip to main content
Participating Frequently
April 2, 2013
Answered

Fixed aspect ratio throughout the end users browser

  • April 2, 2013
  • 1 reply
  • 5514 views

Hi there..

I have a music website. www.vitaguitar.com and I am trying to figure out how to keep the .swfs from scaling if the browser is resized. The weird thing is it's only messed up (pixalated) when the browser is enlarged vertically. You can move stretch the browser horizontal and it doesn't change anything. Also.. when I test it locally(in flash).. it's all good. The size is not affected and looks great. I did try to publish out using match movie + no scale with no luck. When I test the html's locally they stay the same size no matter how I size the browser. Should I be using the published html and modify the code to not scale? A bit confused here. I've uploaded the .swf's and flv's and html's to the host. I can put up any of the code and would appreciate any help I could get. I have some important music people who need to see the site but if there browser happens to be maximized.. I'm in trouble with pixelated stretched movies (flv's)! I also realize I need to make the file sizes smaller but just need to get over this first hurdle. Thank you so much in advance!

This topic has been closed for replies.
Correct answer kglad

Just tried the new default.html again but nothing changed. Followed instructions exactly.


go to: http://www.vitaguitar.com/index.html

so, the problem is your site is not using index.html when you go to http://www.vitaguitar.com.  it's serving http://www.vitaguitar.com/index.swf.

you'll need to change that in your server's settings or .htaccess file.

1 reply

kglad
Adobe Expert
April 2, 2013

publising with a fixed size instead of a percentage should prevent your swf from scaling.

post a link to your url that shows the problem.

BB_2112Author
Participating Frequently
April 2, 2013

Hi.. thank you so much for responding! The website is:

www.vitaguitar.com

You can see if you stretch the site horizontal it stays fixed just as it should. But when you pull it vertically it scales and is all pixelated. It's also strange because the site was originally made in flash cs4 and worked great and then it was taken down for 2 years. Now.. I just updated the flv's and brought everything in to cs6.. still using As2 and nothing else was change and I have this scaling issue. The site is comprised of the "index" page which is basically the frame to show my 4 pages/movies (swf's).

Thank you again kglad!

BB_2112Author
Participating Frequently
April 10, 2013

O.k. great! Got this kglad. I just downloaded "notepad 2" and wanted to ask, What is the proper way to save this after copy & pasting so "everyone" can see this?

Thank you so much!!


From what I've been reading the UTF-8 without Bom sounds like the one? So someone say.. in China can see understand it?