ActionScript 3.0 :: Add A Facebook Share Button To Flash Ad?
Aug 10, 2011I need to add a facebook share button to a flash ad.
View 1 RepliesI need to add a facebook share button to a flash ad.
View 1 RepliesIs 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 Replieswe 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].........
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 RepliesI'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.
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.
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 Replieshow 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.
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]...
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
how can we add in a Flash animation, two butons (Share and like vidéo) to Facebook
View 4 RepliesI'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 Replieswe 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]....
share quiz result to facebook
View 2 Repliescreating an AS3 Facebook share button? I need to be able to customize the title, description and picture.
View 3 RepliesI'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?
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 RepliesI 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 RepliesCan we add facebook like button in flash?
View 1 Replies[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 RepliesI 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 RepliesI'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 Repliesi need to connect to have a button on my website that connects to facebook (if not already logged in) and posts to the users wall.I've only done this from within an iFrame - do i still need AppId etc etc?
View 1 RepliesI've got a Flex 3 website. How do I add a Twitter share button?
View 3 RepliesI have a facebook application where the user choose 4 of his friends and then it creates a video (swf) with the pictures of your friends in it (loaded via xml). So I need to share this video on the user timeline. Everything works fine but the video is not embedded in the post on his timeline, there is only a post with the link to the page in it.The weird thing is, if I post the url directly on my timeline, the video is embedded, but not if the same link is posted via the application.here is my code called by the share button in js :
function postToFeed() {
var obj = {
method: 'feed',[code].........
I've recently used the 'Static HTML' application to add autoplaying flash content to a Facebook Page.Nothing too fancy, no sound, and only a few secs long. Now, Facebook say:-"Apps on Pages must not host media that plays automatically without a user's interaction."
What do they mean by 'Media' exactly? I can understand a ban on autoplaying audio content but does the ban extend to something as harmless as an animated GIF? Or more to the point, does an autoplaying .swf file fall under this?
Lastly, what course of action would Facebook take if I did violate this rule? Would they issue a warning (giving me an opportunity to remove the 'offending' item) or would they just shut down my page without any consultation?
I've had an issue with using Facebook's Share feature.
The user experience on the shared content below is just completely unclear (even when I tested some clarified language: e.g. "click here"). Users simply don't know what to do: they often either click "Like," or they comment with something along the lines of "I support you."
According to the documentation, it is possible to share Flash content in these posts. I'm hoping I can create a "Support" button as an SWF button.
Is it possible to dynamically create such an SWF with a custom *href? Will my use case work on Facebook?
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?
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 RepliesThis 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?