A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Javascript window resize

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    6
    I have a Flash file in a popup window size 700 * 245
    I want to be able to resize the window propotionally,
    so I guess I'll have to use javascript. Any ideas on how I should do it ?

    Monica

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    252

    Post

    Code:
    javascript:window.resizeTo(500,600)
    simply put this in your body tag onload or on a button and replace the values for width and height.

    just a few notes:
    the capital T is required
    this does not work correctly in netscape, it usually ignores the height input.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center