A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22

Thread: help with a pop up window

  1. #21
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Atlanta GA
    I've verified that the javascript code works. Looks like it's a bug in the starting script, It might also have to do with the HTML document not being ready fast enough for this to be in the starting script. That is the most likey problem. So to open the window right away just put
    getURL("javascript:mywindow=window.open('http://www.eiproject.net/elearn/product_rev/screen_capture/spx/spx_presents.html','mywindow','width=550,height=65 0,directories=no,location=yes,menubar=no,scrollbar s=yes,status=yes,toolbar=yes,resizable=yes');mywin dow.focus();screen_height = window.screen.availHeight; screen_width = window.screen.availWidth; left_point = parseInt(screen_width/2)-(550/2); top_point = parseInt(screen_height/2)-(650/2); setTimeout('mywindow.moveTo(left_point,top_point)' ,100);void(0);","_top");

    in a script element that runs once

  2. #22
    Senior Member
    Join Date
    Apr 2004
    Los Angeles
    Inserting that revised script as an "element" caused a looping routine which kept rapidly producing browser sessions.

    I guess initiating a popup borderless javascript window will not work with version 4.6.


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