As a little warning, I have never worked with flash before, so I am a complete newbie with it.
I'm trying to build a little flash banner, which somewhere on the banner I want to show a country flag of where the user is located.
I discovered this while googling for a solution: Geolocation in Flash
This uses HTML5 navigator.geolocation.getCurrentPosition
and translates into lat, long
to later put that on a map.
I think what I'm trying to do is more easily achieved with looking up the IP address of the user and translating that into the country?
I'm sorry I can't post any code of what I've tried because I'm somewhat lost on how to tackle this in Flash.
Any help and pointers in the right direction are appreciated.