A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: strange resize quirk with javascript

  1. #1
    Member
    Join Date
    Jun 2000
    Posts
    54

    self.resizeTo limitations?

    I've wasted a day on this now, and can't find anything anywhere on it. So maybe someone here can save me. Please!

    I have a host flash movie, from which I launch another flash movie in a pop-up - using getURL with a javascript function (no problems this far). I run into this problem when I try to resize the pop-up window using another javascript function (triggered by getURL command on a button). This time:

    PHP Code:
    function resizeIt(newwidthnewheight)
    {
            
    self.resizeTo(newwidthnewheight);


    simple... surely!

    Well it seems IE on mac wont allow me to resize the window below about 200px width and about 350px height. Is there a way around this? Or has anyone come across this before? Also, on Safari, the resize crops the window by about 40 px (could possibly do a work around, so perhaps not a problem).

    Thanks Jon
    Last edited by jon ps; 02-11-2004 at 05:37 AM.

  2. #2
    Member
    Join Date
    Jun 2000
    Posts
    54
    ok. still no joy. But with further faffing, it seems with IE (i'm testing on 5.2 OS X), once a browser window has already been built, it can then no longer be resized below certain dimensions: 336 px wide x 206 px high.
    I can't find any documentation about this. Has anyone come across this or know of a work around? Do I just have to live with it? Or am i just being an idiot?
    I'm dying here. Please... someone...

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