Are you looking for the geographical location of an IP address?
IPinfodb offers a you that service, for FREE!
We just ported the service to an ActionScript 3.0 API to open it up for other Flash and Flex developers …
Get your SWC library here. Online documentation for the API.
For this example i used Flex, but the workflow is similar for Flash programmers.
Add the .SWC file to the libs folder of your flex project.
Calling the API functions, can easily be done.

great post mate ,
I think IP tracking in flash is very useful and there are not many tutorials/API’s on the net. Great job!
Well, there are some other good IP services, but they are usefully not free, and don’t offer a good uptime like the ipinfodb service!
Very cool! You should add this to Tour de Flex.
-James
thanks, we work with ip locators a lot & i seem to have missed this one. thanks for the link.
when work with flash using your swc,it output this error:
VerifyError: Error #1014: can’t find class ipinfodb.events::IPinfodbEvents
i don’t konw what’s wrong with the your swc files….would you please help me ?
Hi forrest,
There is nothing wrong with the SWC, you probably forgot to import the reference to the IPinfodbEvents.
import ipinfodb.events.IPinfodbEvents
If it’s not working, please supply some more details…
Cool! Can i use it in commercial projects?
I’m quite sure you can, but: please check with the use policy on the ipinfodb.com website or send an e-mail concerning your question to: marcandrecaron1@gmail.com
IpInfodb works in flash CS3?
how?
are there any library or swc for flash?
Thank’s
This API also works with Flash CS3, you can download the SWC as described in the post above. Code is the same.
Furthers questions can be posted here.
I have the SWC and the Flex project.
I have opened the program in flex and it works fine but in flash CS3 dont find the SWC, I have copied the file iplocations.SWC in \Adobe\Adobe Flash CS3\es\Configuration\ Is this correct?, when compile error: 1172:Common Class Definitions Not Found.
Can you help me, it´s very important.
Thank,s
Hi,
You will have to reference to the SWC file from Flash.
http://www.adobe.com/devnet/flash/articles/flex_to_flash_03.html
Read more about the issue at title: Testing the project in Flash
Hope it finds you right.
Otherwise I will hear it …
Good Luck!
Hmm. Is it true?