A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: window to open in front of current one

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Location
    Mt. View, California
    Posts
    15

    window to open in front of current one

    I'm having a new problem getting a new browser window to open in front of the current window. They are now opening behind and unless the viewer is smart enough to think of it and see the tab they think it didn't open. I use the recommended code.
    on (release) {
    getURL ("nameofURL.html", "_blank");
    }

    I'm pretty sure this used to open a browser window that appeared in front of the current one, but now it never seems to although once in a while it may (that was with a file with an htm extension.)
    Does anybody know what's up?

    Thanks,
    Alani

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    Has nothing to do with Flash. Depends on your browser's settings. Most modern browsers give you the choice between new window or tab.

    gparis

  3. #3
    Junior Member
    Join Date
    Jan 2007
    Location
    Mt. View, California
    Posts
    15
    Thank you. I love your website. Alani

  4. #4
    Member
    Join Date
    Aug 2010
    Posts
    65
    you can embed javascript in the geturl like this: getURL("javascript:OpenNewWindow('yourfile name.html','window name','height=300,width=800,top=10,left=100,toolba r=no,scrollbars=yes') ");
    it should popup, but as gparis said it depends on browser settings, also many browsers have popup blocking by default

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