Self Closing Pop-Up Window?

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

  1. #1

    Default Self Closing Pop-Up Window?

    I'm building a bunch of video samples for my website using flash movies. They
    open in pop-up windows but when they are done playing the window remains open.
    There must be a way of sending a close window command to the browser from the
    flash movie. I've searched the documentation and the closest thing I've found
    is FSsendcommand, but now clue what the command would be! Anyone know the
    trick?

    videoned Guest

  2. Similar Questions and Discussions

    1. window not closing
      Hi, I'm using window.close() command in a pop box (YesNo.aspx) embedded in a ASP button clcik command. Its a pop up confirmation for Yes or No. If...
    2. Closing a window using a ASP:ImageButton
      Hi all, I need to be able to cause the following chain of events after clicking an asp:button but I don't know how to do it. I'd really...
    3. Closing window and redirecting
      I have page that is opened in a small window and after a user submits the form on that page I want the window to close and then refresh the page...
    4. closing pop-up window
      I have created a mail form in a pop-up window. After the mail has been send succesfull i would like the window to close (without having to click on...
    5. Closing a window from the created one
      Hi all, How do I close a window from the created one. The window which opened the created on was only one of two within a frameset. Regards...
  3. #2

    Default Re: Self Closing Pop-Up Window?

    A little javascript will automatically close the window when the user clicks
    on something other than the pop up window.

    <body onBlur="self.close()" onLoad="self.focus()">


    That's it.

    Shawn Hughes



    "videoned" <webforumsuser@macromedia.com> wrote in message
    news:c5rbvv$5p5$1@forums.macromedia.com...
    > I'm building a bunch of video samples for my website using flash movies.
    They
    > open in pop-up windows but when they are done playing the window remains
    open.
    > There must be a way of sending a close window command to the browser from
    the
    > flash movie. I've searched the documentation and the closest thing I've
    found
    > is FSsendcommand, but now clue what the command would be! Anyone know the
    > trick?
    >

    Shawn Hughes 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