# Centered Pop-Up Window

**URL:** <https://forum.kirupa.com/t/centered-pop-up-window/22812>\
**Category:** flash\
**Created:** [June 9, 2003, 6:29am UTC](https://forum.kirupa.com/t/centered-pop-up-window/22812 "2003-06-09T06:29:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharon\_Chapman](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@Sharon\_Chapman](https://forum.kirupa.com/u/Sharon_Chapman)\
**Post date:** [June 9, 2003, 6:29am UTC](https://forum.kirupa.com/t/centered-pop-up-window/22812/1 "2003-06-09T06:29:03Z")

</div>

I’ve been folowing the tutorial ‘Centered Pop-Up Window’ from this site.

I have come to the point where Ipaste the code into the actions of my button but Flash is not allowing me to. Any ideas why?

thanks

---

<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:** [June 9, 2003, 6:43am UTC](https://forum.kirupa.com/t/centered-pop-up-window/22812/2 "2003-06-09T06:43:53Z")

</div>

Make sure when testing the button you are viewing your movie in a browser window and not the flash standalone player or preview mode in Flash.

The script calls upon a javascript function with which the browser itself translates, therefore the movie must be within a browser window.

---

<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:** [June 9, 2003, 6:47am UTC](https://forum.kirupa.com/t/centered-pop-up-window/22812/3 "2003-06-09T06:47:46Z")

</div>

I’m not even getting to the stage of testing the button. I am not being allowed to paste the code into the actions window. I can’t even just type the code in. It’s saying i’m not allowed to paste incorrect code in

---

<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:** [June 9, 2003, 6:52am UTC](https://forum.kirupa.com/t/centered-pop-up-window/22812/4 "2003-06-09T06:52:11Z")

</div>

Open your actions panel and on the upper right hand corner of that panel, there should be an arrow for “view options,” make sure that “expert mode” is checked.

---

<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:** [June 9, 2003, 6:54am UTC](https://forum.kirupa.com/t/centered-pop-up-window/22812/5 "2003-06-09T06:54:44Z")

</div>

thank u

---

<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:** [June 9, 2003, 7:00am UTC](https://forum.kirupa.com/t/centered-pop-up-window/22812/6 "2003-06-09T07:00:20Z")

</div>

you’re welcome. =)
