# How to getURL on stop instead of looping

**URL:** <https://forum.kirupa.com/t/how-to-geturl-on-stop-instead-of-looping/314038>\
**Category:** flash\
**Created:** [September 16, 2010, 4:14pm UTC](https://forum.kirupa.com/t/how-to-geturl-on-stop-instead-of-looping/314038 "2010-09-16T16:14:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterindublin](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@peterindublin](https://forum.kirupa.com/u/peterindublin)\
**Post date:** [September 16, 2010, 4:14pm UTC](https://forum.kirupa.com/t/how-to-geturl-on-stop-instead-of-looping/314038/1 "2010-09-16T16:14:09Z")

</div>

[COLOR=#808080]\*Does Anybody know how should look my code if I want to redirect my page to different url,  
when my intro stops playing? Video is located externally, not in \*fla file, so I can’t use getUrl code  
in the last frame of the timeline:/  
I just have to modiefied the code below, I have to get rid of looping and go to url instead,  
but I don’t know how 😕  
How it should look?  
thanks

// listen for the ‘Stop’ status event, and restart the video to loop it\*[/COLOR]  
myNetStream.[COLOR=#0066cc]onStatus[/COLOR] = [COLOR=#000000] **function** [/COLOR]COLOR=#66cc66[/COLOR]  
[COLOR=#66cc66]{[/COLOR]  
[COLOR=#b1b100]if[/COLOR] [COLOR=#66cc66]([/COLOR]info.[COLOR=#006600]code[/COLOR] == [COLOR=#ff0000]“NetStream.Play.Stop”[/COLOR][COLOR=#66cc66])[/COLOR]  
[COLOR=#66cc66]{[/COLOR]  
[COLOR=#0066cc]this[/COLOR].[COLOR=#0066cc]seek[/COLOR]COLOR=#66cc66[/COLOR];  
[COLOR=#66cc66]}[/COLOR]  
[COLOR=#66cc66]}[/COLOR];
