Get URL of current page from Flex 3?

前端 未结 7 795
死守一世寂寞
死守一世寂寞 2021-01-12 17:58

How do I determine the URL of the current page from within Flex?

7条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-12 17:58

    I tried the e:BrowserChangeEvent version and inside my class it didnt or wasnt the appropriate moment for this event to work so in short it didn't work !

    Using Application.application.loaderInfo.loaderURL is my preferred solution.

提交回复
热议问题