Good day! How to find the address of the current page of the site from ActionScript 3? This means not the path to the file, but the address in the browser line.

    1 answer 1

    If the browser allows you to run javascript:

    if (ExternalInterface.available) { var urle:String = ExternalInterface.call("window.location.href.toString"); } 
    • Thank! Works. Can one more question: how can the same be done in ActionScript 2? - dmail1976
    • no idea do not forget to add the answer - ShockWave
    • In ActionScript 2 it works too, everything is OK !!! - dmail1976