When character counts are critical as in building a twitter or SMS app you could use services such at tinyurl.com and bit.ly to help save text real-estate. I prefer bit.ly since it’s domain has less characters then tinyurl’s
The code is really quite simple. All that you need to do is communicate with bit.ly ‘s API and it returns the new shortened URL via its API. Check out http://bit.ly/docs for full API.
http://bit.ly/api?url=URL (Example: http://bit.ly/api?url=http://twitabit.com)
Seems easy enough, but the problem comes when doing this with in Flex. You will quickly see once you test on your server Flex will alert you that there is a Sandbox violation. This simply means that bit.ly does not have a crossdomain.xml file that grants you permission to receive data from them.
Popularity: 2% [?]