Window pop up properties

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

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();

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