Application.application.url in Flash AS3, renaun.com
The solution to accessing the loader information url property is quite easy in Flash ActionScript 3. But when you Google for the solution its not obvious. Hence I am creating a post about it.
In Flex you can access the url of the SWF by accessing Application.application.url. What this value represents is the root.loaderInfo.url property. So in Flash and AS3 you would do this:
The important part is accessing the root's loaderInfo object. The above code also shows how to access the FlashVar parameters in ActionScript 3.
Example code referenced from here.
How Good Is Ryzen 5 5600x for Gaming? – 1440p and 4K
-
The landscape of gaming hardware has never been as diverse and competitive
as it is today. The advent of next-generation consoles and high-performance
ga...
год назад