# Retrieve the URL from swf

**URL:** <https://forum.kirupa.com/t/retrieve-the-url-from-swf/167981>\
**Category:** Uncategorized\
**Created:** [November 2, 2005, 10:38pm UTC](https://forum.kirupa.com/t/retrieve-the-url-from-swf/167981 "2005-11-02T22:38:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjorge](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mjorge](https://forum.kirupa.com/u/mjorge)\
**Post date:** [November 2, 2005, 10:38pm UTC](https://forum.kirupa.com/t/retrieve-the-url-from-swf/167981/1 "2005-11-02T22:38:51Z")

</div>

I am having problems with the \_url property

I need to retrieve the url from where my swf is located and not the url for the swf.

How can i do this?

The prob is that i have a swf that will do this job in a url: [http://www.beedigital.net/testes.html](http://www.beedigital.net/testes.html)

When getting the \_url property on it it always traces [http://www.beedigital.net/mySwf.swf](http://www.beedigital.net/mySwf.swf)  
and not  
[http://www.beedigital.net/testes.html](http://www.beedigital.net/testes.html)

How can i make it trace the url that is in the browser and not the url for the swf?

Thnks.
