dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: resize browser window

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    77

    resize browser window

    I have a link in my flash movie that would open another movie. I was loading it into another movieclip, but that was causing problems, so now I want to open it in an entirely new browser window that is sized to match the swf

    I was using:

    on (release) {
    getURL ("java script:NewWindow=window.open('http://page. htm','newWin','width=500,height=400,left=0,top=0,t
    oolbar=No,location=No,scrollbars=Yes,status=No,res
    izable=No,fullscreen=No'); NewWindow.focus(); void(0);");
    }

    but on both ie and mozilla firefox the window wasnt resized and the swf wasnt playing. I would apreciate if some one could point out my stupidity, and give me a hand.

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    77
    By Henry, someone will answer me and I will gain information that will allow me to become wildly rich from that answer!!!!!

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    There are no linebreaks, and no space between java & script in your actual code, right?
    http://www.flash-db.com/PopUp/

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