# Open two pages at once

**URL:** <https://forum.kirupa.com/t/open-two-pages-at-once/279023>\
**Category:** Uncategorized\
**Created:** [January 8, 2009, 5:45pm UTC](https://forum.kirupa.com/t/open-two-pages-at-once/279023 "2009-01-08T17:45:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rudy\_b](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@rudy\_b](https://forum.kirupa.com/u/rudy_b)\
**Post date:** [January 8, 2009, 5:45pm UTC](https://forum.kirupa.com/t/open-two-pages-at-once/279023/1 "2009-01-08T17:45:14Z")

</div>

I am modifying a template, and I have a question.  
In one page there are two buttons.  
the first button has the following AS2

```auto
on (release) {
_root.popup_pressed=1;
_root.scrHEIGHT=280
_root.scroller.scroller.gotoAndStop(2);

_root.TM_title = "/picture";
_root.READ = 2;
_root.scroller.gotoAndPlay("s1");
}

```

and the second button has the following:

```auto
on (release) {
_root.popup_pressed=1;
_root.scrHEIGHT=280
_root.scroller.scroller.gotoAndStop(2);

_root.TM_title = "/picture";
_root.READ = 3;
_root.scroller.gotoAndPlay("s1");
}

```

when I click first button, page 2 is opened (Great), but when I click the second button, page 3 is opened (Great), but page 2 gets closed (Bad!!!).  
I would like to have two pages stay open. I am not sure, but I heard that you cant have 2 pop-ups at the same time, and that might be my case.  
But, even if it is, is there any other kind of object or type that I can use to get around this problem, and have both pages be viewed at the same time.  
help please…  
(if there is an answer, please throw some lines of AS2, cause I am not familiar with it that much)  
please help if you can  
thanks
