# Problem with flash movie

**URL:** https://forum.kirupa.com/t/problem-with-flash-movie/25045
**Category:** flash
**Created:** [July 8, 2003, 9:18pm UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045 "2003-07-08T21:18:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tommy69](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tommy69](https://forum.kirupa.com/u/tommy69)
#### Post date: [July 8, 2003, 9:18pm UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045/1 "2003-07-08T21:18:31Z")

</div>

I had my movie on my “main” page and at the end of my movie it’ll opens up my homepage (which is good). The problem is i still have the “main” window opened. any idea?

---

<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: [July 8, 2003, 9:35pm UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045/2 "2003-07-08T21:35:31Z")

</div>

search for the window object for javascript, you can call a functino that will close your window at the end of your movie

---

<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: [July 8, 2003, 9:58pm UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045/3 "2003-07-08T21:58:31Z")

</div>

just try and find a way that’ll do it automatically, occasionally IE 6 will ask me “This page is trying to close this internet window, do you want to close this window? \<yes\> \<no\>”

personally, I’d leave it open, that way you won’t kill their trail of sites, because by closing they can’t hit the back button…which would be a huge annoyance to me.

---

<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: [July 8, 2003, 10:23pm UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045/4 "2003-07-08T22:23:58Z")

</div>

yea i agree, a close window should be an option and not on the index page

---

<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: [July 9, 2003, 8:55pm UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045/5 "2003-07-09T20:55:03Z")

</div>

Thank you for your time…it’s been a great help

Tommy

---

<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: [July 9, 2003, 9:28pm UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045/6 "2003-07-09T21:28:12Z")

</div>

no prob, what was your final solution?

---

<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: [July 10, 2003, 4:26am UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045/7 "2003-07-10T04:26:42Z")

</div>

my homepage pops up at the end of my movie. because i had sound with my movie, i can still hear it playing in the background. so by replacing “\_blank” with “\_self” in the getURL actionscript, seems to work ok.

---

<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: [July 10, 2003, 4:57am UTC](https://forum.kirupa.com/t/problem-with-flash-movie/25045/8 "2003-07-10T04:57:31Z")

</div>

to stop a sound  
[AS]  
stopAllSounds();  
[/AS]
