# (FMX) Easy One I'm sure

**URL:** https://forum.kirupa.com/t/fmx-easy-one-im-sure/14858
**Category:** Uncategorized
**Created:** [March 3, 2003, 6:38pm UTC](https://forum.kirupa.com/t/fmx-easy-one-im-sure/14858 "2003-03-03T18:38:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![coyotekel](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@coyotekel](https://forum.kirupa.com/u/coyotekel)
#### Post date: [March 3, 2003, 6:38pm UTC](https://forum.kirupa.com/t/fmx-easy-one-im-sure/14858/1 "2003-03-03T18:38:03Z")

</div>

I need the script that closes the current window.

This seems easy enough but for some reason I’m stumped. I’ve got a help menu that pops up in a new window when the help button is clicked in my movie.

I need to give them a button that when clicked will close the window.

That’s it.

Thanks for your time.

CK

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 3, 2003, 6:44pm UTC](https://forum.kirupa.com/t/fmx-easy-one-im-sure/14858/2 "2003-03-03T18:44:09Z")

</div>

```auto
on (release) {
getURL("java<I></I>script:window.close();", "_self");
}

```

You can call a javascript function from a getURL in Flash.
