ActionScript 3.0 :: Detect Facebook Share Button?
Oct 24, 2011
we all know its possible to make a share button for face book which allows users to share whatever item. but when we are directed to that page the user has two options. press the "cancel" button which of course closes the window, or to press the "share" button which then adds the item to the persons wall.
what i'm trying to do is determine if that share button has been pressed. see because when they press it i want my swf to trace out a message saying "thanks for sharing my item"and while i can redirect them to the page i have no way of knowing if they shared it or not. my idea was to use an enter_frame event and try and see if any data was being sent via php. because thats what the button would be doing when pressed. but i haven't had any luck making that work.here is the code so far. its a tutorial as the focus is at my problem:
ActionScript Code:
import flash.net.navigateToURL;
import flash.net.URLVariables;
import flash.net.URLRequest;[code].........
View 3 Replies
Similar Posts:
Oct 24, 2011
we all know its possible to make a share button for face book which allows users to share whatever item. but when we are directed to that page the user has two options. press the "cancel" button which of course closes the window, or to press the "share" button which then adds the item to the persons wall.
what i'm trying to do is determine if that share button has been pressed. see because when they press it i want my swf to trace out a message saying "thanks for sharing my item" and while i can redirect them to the page i have no way of knowing if they shared it or not. my idea was to use an enter_frame event and try and see if any data was being sent via php. because thats what the button would be doing when pressed. but i haven't had any luck making that work. here is the code so far. its a tutorial as the focus is at my problem:
[Code]....
View 1 Replies
Aug 10, 2011
I need to add a facebook share button to a flash ad.
View 1 Replies
Sep 9, 2010
I'm trying to duplicate the behaviour of the "Share on Facebook" button from Youtube. Basically, inside a Flex app I'll have a button and when I click it I want a popup that enables me to post something on the wall. While it is possible to make a call to javascript to open the pop-up I want to be able to set the images and the text of my posting. How I could set the images or text as a parameter to the sharer window?
View 3 Replies
Mar 11, 2011
Is there any possibility to create a facebook share button in flash? need it in as2 . I need that button to share a link on facebook from a swf file.
View 4 Replies
Mar 18, 2012
I'm new to actionscript.the thing is I needed a facebook share button inside an .swf movie file.I was able to search up with this code.
[Code]...
Using the share_btn a lot.button, everything comes allright but the thing is the a Preveiw image dosn't come up. how I can correct this on the script? or is there some other way to make this.
View 3 Replies
Nov 20, 2009
Using this url to post shared content to facebook wall via flash button:
[URL]
looking to specify different thumbnail images dynamically set by the flash movie.
View 3 Replies
Jan 20, 2011
i have something like a flv player in my flash site and i load different flvs depending on user interaction. I want to add a "share on facebook" functionality so the videos will be shared on fb in a way similar to youtube sharing. I've serached a lot but there seems to be a lack of documentation on this subject.
View 0 Replies
Aug 3, 2009
how to open the Facebook Share page above my flash content inside of a div.
Here is the JS I would use to open it in a new window:
function facebook_share() {
u="http://thepageiwanttoshare.com";
t="pagetitle";
[Code].....
I then call this JS code from flash with ExternalInterface.
This code will basically open the facebook share page in a new window 626x436 with no toolbar etc.
This works perfectly, but I want to take this functionality and instead load that content into a specific div, which I guess I can then place above my Flash (using the z-index of the div and the wmode transparent param on the flash embed statement).
This doesn't seem like it would be too difficult, but I have never done something quite like this before. I heard that Adobe AIR actually has a Window class that can be used like an html window within flash, but unfortunately I am using AS3/Flex SDK.
View 0 Replies
Sep 16, 2010
Anyone have experience with this? I'm not much of a javascript person. This would be the code you could use on an html page.
I fugure you somehow have to have flash read the js file from fbook and then pass the share_url variable to it?
[Code]...
View 3 Replies
Jun 9, 2011
share quiz result to facebook
View 2 Replies
Jan 19, 2010
I'm currently doing a project that have a share button that linked to different social networking site.
I search the net, All i have to do is load
View 1 Replies
Nov 10, 2011
how can we add in a Flash animation, two butons (Share and like vidéo) to Facebook
View 4 Replies
Jun 3, 2011
I'm developping a flash photo gallery with deeplink and i would like to enable the user to share the photos on their facebook wall. I tryied to find some tutorials explaining how to achieve that but unfortunatly I had no luck. The ones I found don't enable me to customize the wall post (these fields: title, description, url and image)
View 2 Replies
Jun 3, 2011
Is there a way for a Flash Facebook app in an iFrame to detect if the user is a fan of the page using the Graph API for Actionscript 3? If not can I achieve the same goal using Javascript? without asking the user for permission (no access token required).
View 2 Replies
Jan 12, 2011
How to share TextArea Component in multiple swfsaylib.swf (has TextArea Componenet)main.swf (Import TextArea Componenet from lib.swf)section.swf (Import TextArea Componenet from lib.swf)
View 1 Replies
Oct 24, 2010
I'm currently building an application using the Adobe Facebook API and I've run into an issue where for the login method the Facebook login popup displays but when doing a Facebook share/post the popup is blocked.
This code works fine and displays me a Facebook login popup without question (Firefox):
var permissions:Array = ['publish_stream'];
Facebook.login( onFacebookLogin, { perms:permissions.join(',') } );
However, the following code running in the same application throws up a popup blocker (again Firefox):
Facebook.ui( "stream.publish", "popup", params );
Does anyone know of a work around this issue to make the share popup come up just like the login popup?
View 2 Replies
Mar 24, 2010
creating an AS3 Facebook share button? I need to be able to customize the title, description and picture.
View 3 Replies
Feb 14, 2011
I've got a Flex 3 website. How do I add a Twitter share button?
View 3 Replies
Jan 12, 2009
I want the press button to detect the last button pressed and if the shapes match, make them do something...obviously. I think I'm going at it the wrong way. I need to stick a "triange" id into the button/mc then if compares that and then if there is a match works then... right?
[Code]...
View 1 Replies
Apr 27, 2011
I need to add the facebook LIKE button in to my website. But I'm not knowing how to do it. Facebook provides the iFrame and XFBML codes.
How do I get this button in my flash website?
View 6 Replies
Jun 18, 2010
I am working on a Flex AS3 application and wanted to add the Facebook Like button inside the app. I am unable to find any API or anything apart from the [URL] code generator.
View 4 Replies
Jul 12, 2010
This button is basically hosted on a html page and used trough an iframe.
I believe flex does not have iframes out of the box. Are there are any good iframe components i can use?
View 2 Replies
Sep 12, 2011
I want to add Facebook Fan button in my flash application? How to do this give me some example.not only add the like button i need to get the current users session also.
View 1 Replies
Jan 25, 2011
I am looking for a script for a right click button and when you press that button the link on the page you are is making like on facebook.
View 0 Replies
Oct 10, 2011
Can we add facebook like button in flash?
View 1 Replies
Jun 1, 2009
I'm trying to determine the practical difference between using the com.facebook.session.WebSession and com.facebook.session.JSSession. The documentation ([URL]) has more around WebSession - but the example I have which is closest to what solution I'm trying to implement uses JSSession and it looks like I could avoid all of the JavaScript pass-through & ExternalInterface calls I'm making. It appears that the benefit of using this new ActionScript Facebook API is to avoid having to make all of the Facebook calls via JavaScript.
View 5 Replies
Mar 13, 2011
I have literally spent HOURS trying to solve this mystery... but simply can't seem to get hold of it.
I am using the same code lines (literally!) as the example here (official adobe tutorial) and I get different result.
[Code]...
Everything works fine, i.e. everything till it is time to fire the loggedin event. I get asked to log in and all permissions are asked correctly. After I log myself in to facebook, the loggedin event doesn't fire. Is there any way of solving this problem??
View 1 Replies
Oct 17, 2011
[url].. is my website and as you can see my facebook like button is up at the top of the screen and my movie is at the bottom of the screen
View 1 Replies
Sep 27, 2010
I am trying to put a facebook like button onto my flash site but it goes at the bottom. What other coding do I have to do. I would like to have it near the middle of the page.
View 9 Replies