Took a bit to figure this one out, most code out there only gives you the path to the Flash swf file instead of the actual page URL. You will need to use an ExternalInterface call
- import flash.external.*;
- var pagePath:String = "";
- //Somewhere in the body of your code
- pagePath = ExternalInterface.call("window.location.href.toString");
You need to login to post a comment.