Skip to content

Instantly share code, notes, and snippets.

@fenixkim
Created February 10, 2011 22:55
Show Gist options
  • Save fenixkim/821547 to your computer and use it in GitHub Desktop.
Save fenixkim/821547 to your computer and use it in GitHub Desktop.
Adding Social Networks to ShareButton
import gT.display.shareButton.*;
var settings:Object = {
itemWidth: 48,
items: [{id:"twitter", icon:"twitter-48x48.png"},
{id:"facebook", icon:"facebook-48x48.png"}]
}
var sb:ShareButton = new ShareButton;
sb.initWithObject(settings);
sb.move(250, 350);
addChild(sb);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment