# Stopping movie at its \_currentFrame when using onPress getURL \_blank

**URL:** <https://forum.kirupa.com/t/stopping-movie-at-its--currentframe-when-using-onpress-geturl--blank/190575>\
**Category:** Uncategorized\
**Created:** [June 13, 2006, 3:46am UTC](https://forum.kirupa.com/t/stopping-movie-at-its--currentframe-when-using-onpress-geturl--blank/190575 "2006-06-13T03:46:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![messlah](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@messlah](https://forum.kirupa.com/u/messlah)\
**Post date:** [June 13, 2006, 3:46am UTC](https://forum.kirupa.com/t/stopping-movie-at-its--currentframe-when-using-onpress-geturl--blank/190575/1 "2006-06-13T03:46:28Z")

</div>

Hi all I am trying to stop/pause my MC when I click on an image.

EG:  
on (press){  
gotoAndStop.\_currentframe;  
getURL(“image1.jpg”, “\_blank”);  
}

But when my image loads into the new window and I go back to the main content window on where I clicked the movie has already started playing!

These are my other on states

on (rollOver){  
framevar = \_currentframe;  
gotoAndStop(framevar);  
\_root.attachMovie(“clickhere”, “clickhere\_mc”, 0, {\_x:\_xmouse, \_y:\_ymouse});  
\_root.photomain.stop();  
\_root.photomain.slideshow.gotoAndStop(“paused”);  
}

onClipEvent (enterFrame) {  
\_root.clickhere\_mc.\_x = \_xmouse ;  
\_root.clickhere\_mc.\_y = \_ymouse ;  
}

on (rollOut){  
clickhere\_mc.removeMovieClip();  
\_root.photomain.play();  
\_root.clickhere\_mc.gotoAndPlay(“finishup”);  
\_root.photomain.slideshow.gotoAndStop(“playing”);  
}

Any help would be great
