flash - Get Current Browser URL - ActionScript 3 -
I'm trying to get the current browser URL. I have already tried with an external call, and it is not working. And with loaderInfo.url, I get the current SWF URL.
Let it go one:
import flash.external ExternalInterface; Var url: string = external interface. Call ("window.location.href.toString"); If (url) textfield.text = url;
should do the trick.
Comments
Post a Comment