Author Topic: Not resizing objects.  (Read 2026 times)

0 Members and 1 Guest are viewing this topic.

Offline jassing

  • Member
  • *
  • Posts: 45
    • Anderson Island Weather
Not resizing objects.
« on: October 03, 2008, 01:01:55 AM »
How can I get the objects not to resize when the user resizes the browser?

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 478
    • Jay's Woodcrafts
Re: Not resizing objects.
« Reply #1 on: October 03, 2008, 10:30:23 AM »
I don't believe you can.  This is a function of Macromedia Flash.
Davis Vantage Pro2 Plus
VVP
VWS
Cumulus
WeatherFlash
Image Salsa

Online piconut

  • Juggler Extraordinaire
  • Senior Contributor
  • ****
  • Posts: 293
    • South Austin Weather
Re: Not resizing objects.
« Reply #2 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

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

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 478
    • Jay's Woodcrafts
Re: Not resizing objects.
« Reply #3 on: October 05, 2008, 06:38:31 PM »
Scott,

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

Thanks
Davis Vantage Pro2 Plus
VVP
VWS
Cumulus
WeatherFlash
Image Salsa