# \[Actionscript 2\] trying to find redirect url

**URL:** <https://forum.kirupa.com/t/actionscript-2-trying-to-find-redirect-url/248813>\
**Category:** flash\
**Created:** [January 11, 2008, 8:26pm UTC](https://forum.kirupa.com/t/actionscript-2-trying-to-find-redirect-url/248813 "2008-01-11T20:26:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbossertca](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@tbossertca](https://forum.kirupa.com/u/tbossertca)\
**Post date:** [January 11, 2008, 8:26pm UTC](https://forum.kirupa.com/t/actionscript-2-trying-to-find-redirect-url/248813/1 "2008-01-11T20:26:51Z")

</div>

I am trying to load a url and find the redirect url. It works fine in IE6 and Mozilla, however IE7 does not work. I only get back the original url. Below is my code

createEmptyMovieClip (“mc”, getNextHighestDepth ());  
var \_mcl:MovieClipLoader = new MovieClipLoader ();  
\_mclListener = new Object ();  
\_mclListener.onLoadStart = function (target:MovieClip)  
{

var \_lv:LoadVars = new LoadVars ();  
\_lv.decode (target.\_url.split ("?")[1]);

};

\_mcl.addListener (\_mclListener);

\_mcl.loadClip (\_level0.tempURL, mc);

Does anyone know why IE7 would have this issue?
