0
I Use This!
Activity Not Available
Analyzed 12 months ago. based on code collected 12 months ago.

Project Summary

URLShorten is an AS3 class with a collection of URL shortening services

Usage

var url:String = 'http://code.google.com/p/urlshorten/';
var us:URLShorten = new URLShorten();

us.addEventListener(URLShortenEvent.ON_URL_SHORTED, onUrlShorten);
us.tinyurl(url);

function onUrlShorten(event:URLShortenEvent):void
{
trace(event.service +":", event.url);
}

Factory, Error Handler and ApiKey Sample

var url:String = 'http://code.google.com/p/urlshorten/';
var us:URLShorten = new URLShorten();

us.addEventListener(URLShortenEvent.ON_URL_SHORTED, onUrlShorten);
us.addEventListener(URLShortenEvent.ON_ERROR, onError);
us.factory(url, 'bitly', "[your login]", "[your apiKey]");

function onUrlShorten(event:URLShortenEvent):void
{
trace(event.service +":", event.url);
}

function onError(event:URLShortenEvent):void
{
trace("Error:", event.data);
}

Service List

Name Link TinyURL http://tinyurl.com/ is.gd http://is.gd/ SNURL http://snurl.com Migre.me http://migre.me/ bit.ly http://bit.ly/ Digg http://digg.com/ tr.im http://tr.im/ kl.am http://kl.am/ Short.ie http://short.ie/

Comments?Follow me on twitter: @LucasAraujo

Tags

api as3 collection flex service shorten shortening url

In a Nutshell, urlshorten...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog
  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    search using multiple tags to find exactly what you need

30 Day Summary

Apr 9 2016 — May 9 2016

12 Month Summary

May 9 2015 — May 9 2016

Ratings

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!