This little trick allows a Flash movie (swf) to find out the URL of the page in which it's embedded. Javascript must be enabled for this to work. if the window.location.href.toString method doesn't return a value then ExternalInterface.call will return null. Same thing happens when Javascript is disabled.
// This little trick allows a Flash movie (swf) to find out the URL of the page in which it's embedded.
import flash.external.ExternalInterface;
var pageURL:String =
ExternalInterface.call('window.location.href.toString');
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1411"></script>