# Recognising the URL of

**URL:** <https://forum.kirupa.com/t/recognising-the-url-of/212997>\
**Category:** Uncategorized\
**Created:** [January 16, 2007, 7:01am UTC](https://forum.kirupa.com/t/recognising-the-url-of/212997 "2007-01-16T07:01:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roboman](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@Roboman](https://forum.kirupa.com/u/Roboman)\
**Post date:** [January 16, 2007, 7:01am UTC](https://forum.kirupa.com/t/recognising-the-url-of/212997/1 "2007-01-16T07:01:09Z")

</div>

Hey guys,

I know its possible for a flash file to recognise its own URL easy enough.  
Is there any way for a flash file to recognise the URL of the html page it is being viewed through?

So say there is a flash file called “bob.swf”.  
It is being displayed in the HTML file “webpageness.html”  
Can bob.swf detect the URL of the HTML file using some sort of function and return a string somtehing like: myurl = “webpageness.html”;

I have never heard of such a thing, is there one? Thanks 🙂
