Return to Snippet

Revision: 41274
at February 15, 2011 06:23 by Whiteagle


Updated Code
/**
 * Flex Share on facebook - quick & easy way
 **/
public function ShareOnFacebook(shareUrl:String):void
{
	var openUrl:String = "http://www.facebook.com/sharer.php?u="+shareUrl;
	navigateToURL(new URLRequest(openUrl), '_blank');
}

Revision: 41273
at February 15, 2011 06:23 by Whiteagle


Updated Code
/**
 * Flex Share on facebook - quick & easy way
 **/
public function ShareOnFacebook(shareUrl:String):void
{
	var sharer:String = "http://www.facebook.com/sharer.php?u="+shareUrl;
	navigateToURL(new URLRequest(sharer), '_blank');
}

Revision: 41272
at February 15, 2011 06:22 by Whiteagle


Updated Code
/**
 * Flex Share on facebook - quick & easy way
 **/
public function ShareOnFacebook(shareUrl:String):void
{
 var openUrl:String = "http://www.facebook.com/sharer.php?u="+shareUrl;
 navigateToURL(new URLRequest(openUrl), '_blank');
}

Revision: 41271
at February 15, 2011 06:21 by Whiteagle


Updated Code
/**
 * Flex Share on facebook - quick & easy way
 **/
public function ShareOnFacebook(shareUrl:String):void
{
  var openUrl:String = "http://www.facebook.com/sharer.php?u="+shareUrl;
  navigateToURL(new URLRequest(openUrl), '_blank');
}

Revision: 41270
at February 15, 2011 06:16 by Whiteagle


Initial Code
/**
 * Flex Share on facebook - quick & easy way
 **/
public function ShareOnFacebook(shareUrl:String):void
{
	var openUrl:String = "http://www.facebook.com/sharer.php?u="+shareUrl;
	navigateToURL(new URLRequest(openUrl), '_blank');
}

Initial URL
http://www.digitalwks.com/blogs/diogo-raminhos/2011/02/14/flex-share-on-facebook/

Initial Description

                                

Initial Title
Flex Share on Facebook

Initial Tags
actionscript, Flex, facebook

Initial Language
ActionScript 3