# Window pop up properties

**URL:** <https://forum.kirupa.com/t/window-pop-up-properties/185484>\
**Category:** Uncategorized\
**Created:** [April 13, 2006, 5:04pm UTC](https://forum.kirupa.com/t/window-pop-up-properties/185484 "2006-04-13T17:04:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean1983uk](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@sean1983uk](https://forum.kirupa.com/u/sean1983uk)\
**Post date:** [April 13, 2006, 5:04pm UTC](https://forum.kirupa.com/t/window-pop-up-properties/185484/1 "2006-04-13T17:04:45Z")

</div>

Hi,

i’m using the following AS on a button to open a new html windon with an image in it, the image is retrived from an xml file:

up\_Btn.onRelease = function() {

```
        getUrl(lArray[curItem], "_blank");
    }; 

```

This works fine.

What i want to do is have it so that the window has no toolbars, address bar etc…

I’ve followed the tutorial on here using javascript and then tried to edit it to work with my code but i think it wont work because it doesn’t like:

lArray[curItem]

for the image link.

Is there a way around this?

Any help or pointers to forum posts or tutorial much appreciated.

Many Thanks,

Sean

---

<div class="post-metadata">

**Author:** ![neutrino](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@neutrino](https://forum.kirupa.com/u/neutrino)\
**Post date:** [April 13, 2006, 11:51pm UTC](https://forum.kirupa.com/t/window-pop-up-properties/185484/2 "2006-04-13T23:51:34Z")

</div>

perhaps it’s not a string?

try trace(typeof(lArray[curItem])) and see what you get.

if it’s not a string then convert it to string using Array.toString();

---

<div class="post-metadata">

**Author:** ![sean1983uk](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@sean1983uk](https://forum.kirupa.com/u/sean1983uk)\
**Post date:** [April 17, 2006, 9:15pm UTC](https://forum.kirupa.com/t/window-pop-up-properties/185484/3 "2006-04-17T21:15:01Z")

</div>

Yeh when it traces it says String, so guessing i’m doing something else wrong with it.
