views:

38

answers:

2

hello

i am working in application of twitter in flex 3 and action script 3 , this in the text area when the user write my application automatically change http address to a short address but i don't know find the address within the text you can help me please..

thanks in advance

A: 

I've never used this api, so research before use: http://userflex.wordpress.com/2008/05/29/tinyurl-flex-library/

It looks like a set of utility functions a simple as: TinyURL.create(url,callbackFunction);

Best of luck, Jeremy

jeremy.mooer
A: 

if you can use http webservices try to use one provided by bit.ly to shorten url

http://code.google.com/p/bitly-api/wiki/ApiDocumentation#/shorten

Nishu