Topic: Download link close window

Hey all, I have my simpleviewer gallery popping up in a new window from its parent page, and I was wondering if there was a way to make the download link close the window when it is clicked. I can use the following code to make a button close the Flash window:

on (release) {
getURL ("javascript:NewWindow.close(); void(0);");
}

but don't know how to incorporate that into simpleviewer. Thanks.

Re: Download link close window

Put javascript: self.close () in for linkURL in the Options.as file, as well as changing _blank to _self in the StageManager.as file

Re: Download link close window

This would apply to simpleViewer Pro.

Regards
Phil
http://www.phillipnorman.com

Re: Download link close window

You would apply to simpleviewer pro