# \[FMX\] Modal window in actionscript. How to?

**URL:** <https://forum.kirupa.com/t/fmx-modal-window-in-actionscript-how-to/7346>\
**Category:** Uncategorized\
**Created:** [October 29, 2002, 2:55am UTC](https://forum.kirupa.com/t/fmx-modal-window-in-actionscript-how-to/7346 "2002-10-29T02:55:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rasarasan](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@rasarasan](https://forum.kirupa.com/u/rasarasan)\
**Post date:** [October 29, 2002, 2:55am UTC](https://forum.kirupa.com/t/fmx-modal-window-in-actionscript-how-to/7346/1 "2002-10-29T02:55:05Z")

</div>

Hi folks…  
I need to make a modal window in flash.  
Let me make it clear…  
I have a country map. on clicking a location, a movie pops up.  
the movie will have a close button to close it and return to the main movie.  
I want the main movie to be inactive and the popup movie to be active, unless i close it…  
How do i do it?  
can anyone help me on this?

# Thanks

:rambo:

---

<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:** [October 29, 2002, 7:00am UTC](https://forum.kirupa.com/t/fmx-modal-window-in-actionscript-how-to/7346/2 "2002-10-29T07:00:39Z")

</div>

um…easy way would be putting an inactive button on top of all the stuff in the bg and then going button.useMouseCurser=false…that should make everything under the button sorta disabled…so u can’t click on it anymore…hehe its probably one of the easiest ways…🙂

---

<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:** [October 31, 2002, 7:32am UTC](https://forum.kirupa.com/t/fmx-modal-window-in-actionscript-how-to/7346/3 "2002-10-31T07:32:38Z")

</div>

Hi  
Thanks for the information.  
But it doesnt work for me.  
Can u kinldy debug the attached file.  
This will be really helpful for me as i am totally lost in this.  
thanks a ton in advance…  
Regds
