WXforum.net

Weather Software => Virtual Weather Station => VWS WeatherFlash => Topic started by: jassing on October 03, 2008, 01:01:55 AM

Title: Not resizing objects.
Post by: jassing on October 03, 2008, 01:01:55 AM
How can I get the objects not to resize when the user resizes the browser?
Title: Re: Not resizing objects.
Post by: jay_hoehn on October 03, 2008, 10:30:23 AM
I don't believe you can.  This is a function of Macromedia Flash.
Title: Re: Not resizing objects.
Post by: piconut on October 05, 2008, 05:08:33 PM
How can I get the objects not to resize when the user resizes the browser?

Sure you can!  If I understand your question correctly, all you have to do is to change the height and width tags to a fixed value (and I put the flash file into a table too).  I put two weatherflash instances on the same page here in two different sizes (to illustrate the idea):  http://www.robuck.net/weather/temp2.html (http://www.robuck.net/weather/temp2.html)

If you can't figure it out, just look at the source code....in one case it's the default size, 800 x 487 and in the smaller one its 400 x 243.

Scott
Title: Re: Not resizing objects.
Post by: jay_hoehn on October 05, 2008, 06:38:31 PM
Scott,

I never thought of using a table to force the size.

Thanks