# Why my browser get resized to half when I click on a link on flash website?

**URL:** <https://forum.kirupa.com/t/why-my-browser-get-resized-to-half-when-i-click-on-a-link-on-flash-website/326041>\
**Category:** flash\
**Created:** [November 19, 2011, 5:06pm UTC](https://forum.kirupa.com/t/why-my-browser-get-resized-to-half-when-i-click-on-a-link-on-flash-website/326041 "2011-11-19T17:06:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![learner\_7n](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Post date:** [November 19, 2011, 5:06pm UTC](https://forum.kirupa.com/t/why-my-browser-get-resized-to-half-when-i-click-on-a-link-on-flash-website/326041/1 "2011-11-19T17:06:17Z")

</div>

Hi,

The following code is okay as it works fine and opens the Projects.pdf file in same window. But the problem is when I use browser back button, it takes me to home page instead of Projects page.

```auto
function ProjectsClickHandler(event:MouseEvent):void {
    navigateToURL (new URLRequest ("http://Mywebsite/info/Documents/Projects.pdf"), "_self");
}

```

And the following code opens the Projects.pdf in new window but the problem is, it always open the new window re-sized to half. So again I need to maximize the window to see the full page.

```auto
function ProjectsClickHandler(event:MouseEvent):void {
    navigateToURL (new URLRequest ("http://Mywebsite/info/Documents/Projects.pdf"));
}

```

I am using Internet Explorer 8. What way I can see it in full size browser?

Thanks.
