/ Published in: ActionScript 3
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
Expand |
Embed | Plain Text
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.
