How does one center a pop-up window using actionScript?

Ask a Question related to Macromedia Flash Sitedesign, Design and Development.

  1. #1

    Default How does one center a pop-up window using actionScript?

    I repeat: How does one center a pop-up window using actionScript?



    modest disguise webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Get center of users window
      Hi I have the following problem. I have a Flex application that has modal pop up windows. The Flex app has a large hight, so I can't be sure the...
    2. Child window property window.opener null after postback
      I have an webform from which I open a child window to display a calendar. When a date is selected in the calendar window it attempts to set the...
    3. center window
      Hi, can someone tell me why this doesnt work or how to rewrite it? <HEAD> <script language="JavaScript"> self.moveTo(screen.availWidth *...
    4. Another gripe: The ActionScript window focus..
      Oh this winds me up in a package that calls itself Professional. I'm editting some actionscript in the editor window... I ALT-TAB to another...
    5. Center in Window
      My site is fullarmorgroup.com. Obviously, my first go at it. I am changing the background to black and want it to automatically center in any browser...
  3. #2

    Default Re: How does one center a pop-up window using actionScript?

    "modest disguise" wrote:
    > I repeat: How does one center a pop-up window using actionScript?

    Don't bother centering it. Throw it out. Everyone hates pop-ups.

    zero Guest

  4. #3

    Default Re: How does one center a pop-up window using actionScript?

    if you mean an html popup window, you can't do it through action script, you
    will need to do it through javascript. Put a javascript function in the
    HTML file in which your flash content is embedded, and then call that
    function through getURL:

    getURL("javascript: etc);

    A quick Google search with "javascript popup" gave me over 80 000 results.
    You can find a function there. Then just call it from Flash.

    Hope this helps,

    Steph

    "modest disguise" <webforumsuser@macromedia.com> a écrit dans le message de
    news: bk5l11$2he$1@forums.macromedia.com...
    > I repeat: How does one center a pop-up window using actionScript?
    >
    >

    steph Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139