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

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -