I am trying to make a flash movie display the Geo-location of the user (city and state), just like those JavaScripts that you see everywhere that say something like: "welcome to my page, from CITY NAME, STATE NAME."

After much searching, I believe that I may have found a solution, but I do not know how to implement it. It requires the use of a ".as" file, which I have no idea what to do with. Here is where I am at:


That URL shows the javascripts to use, but at the very bottom of that page is a link to an "ActionScript wrapper" which allegedly facilitates usage with Flash. I just don't know what do with with the "ActionScript wrapper" or where to go from here.

If I am not allowed to post URLs, you can google the phrase "flash geoip javascript" and it's the first link.

I'm using Flash 8. Any help is very much appreciated! thanks!