Topic: Create button with open image in new window

I have managed to redirect the open in new window link to open a 3rd folder with extra large images by creating another var.

    public function openImageLink(){
        getURL(mXMLManager.imagePath2 + mXMLManager.imageFileNames[mCurrentImageIndex],"_blank");    

I need to make a button on stage with that link but i don't know how to i thought:

on (release) {

but ain't work
help would be apreciated.