ActionScript 3.0 :: External SWF Button Not Working On Facebook FBML
Mar 23, 2011I have a .swf and the external link buttons work fine except when on facebook the clickable buttons do not lead anywhere.
View 7 RepliesI have a .swf and the external link buttons work fine except when on facebook the clickable buttons do not lead anywhere.
View 7 RepliesI'm trying to insert a player on a Facebook Page tab with FBML with fb:swf. I have the following:
<fb:swf
imgsrc="http://IP/player/player.gif"
swfsrc="http://IP/player/player.swf"
[code]....
I can see the video, no problem. It plays inside a FLVPlayback component, which uses a skin (referred by /player/skinName.swf, I tried also the absolute path here). This player works perfectly everywhere else (even on an iframe Facebook application, where it's not inserted using the fb:swf tag, but with object, of course). However, I can't see the skin on the Page tab.
Is it possible to show Flash content in Custom FMBL tabs for pages? Can it be done with HTML or must it be FBML if possible?
View 1 RepliesI'm trying to get a video (flv) or an swf video player to work on Facebook walls, however no matter what I do - facebook posts the raw fbml and ignores the code.
<fb:swf
swfsrc='http://www.domain.com/flv_player/Main.swf'
imgsrc='http://www.domain.com/large1.jpg'
[Code]......
Ok here is what I have.
randomLoader.swf - It has two layers. One being movieclip layer for loading the external .swf files to. The other is the script layer with the following code:
Code:
filename = ["random1.swf", "random2.swf"];
path = "http://www.domain.com/random/";
i = filename.length;
[Code].....
Now if I just embed randomX.swf into HTML they work fine. But if I embed randomLoader.swf in the HTML to load a different randomX.swf file everytime the page loads/refreshes the button seems to show up but does not function. I get the hand but clicking it does not take you to the URL.
Should I be using Java or PHP instead to load the randomX.swf files? I like how well what I have already is working and I don't have to touch the page to update it to show new randomX.swf files. Just need to get Z buttons to work
the swf that I am loading has a button in it that when I click on it, it will print the screen and it will email it to an email address.Everything works perfectly fine if I use the application(swf) on its own.however, I created a swf file that will load the above swf file in it when a button is clicked. the loading part is fine and it works as it should be. but the button for printing the screen stops working once the swf has been loaded!
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?
myData = new LoadVars();
myData.load("myText1.txt");
myData.onLoad = function() {
[Code].....
I thought i would be able to load the files from the press of a button.
this doesnt work i can load the external files from the btns,
Problem this is not working.I cant understnd the reason why. when the above code works fine. Problem is i do need to load the external varaibles with a button press.
//loading external file 2
myData = new LoadVars();
myData.load("myText1.txt");
[Code].....
I have a flash file which calls up a url say [URL] which is caught and used up by a python/django code and it creates and redirects to an XML. which is loaded by flash, to get values from the database.
The setup works fine when outside facebook, but as soon as I put the setup in facebook, it stops loading the XML completely.
We have a Flash site that integrates heavily with Facebook. When users sign up we get them to allow a Facebook app that ties into the site. This is done through the AS3 Facebook API library from Adobe. When users have done this, they should then be able to sign up, submitting some personal details and so on. The Flash sends this request to our PHP which then checks to see if the user is actually logged into Facebook, and has allowed our app. The problem we're having is that when a user goes to do this, the PHP facebook library says that the user is not logged in. If we then refresh the page and try signing up again, everything works fine.
View 1 RepliesI have a flash file which calls up a url say [URL] which is caught and used up by a python/django code and it creates and redirects to an XML. which is loaded by flash, to get values from the database.
The setup works fine when outside facebook, but as soon as I put the setup in facebook, it stops loading the XML completely.
I have an adobe air application. I just added facebook features in it. My problem is that user can login and do activities properly. Following the code that I am using for logout :
protected function logout(callback:Function=null, appOrigin:String=null):void {
this.logoutCallback = callback;
//clears cookie for mobile.
var params:Object = {};
params.confirm = 1;
[Code] .....
I am passing [URL] as appOrigin. But the logout functionality is not working.
I have a flash file which calls up a url say which is caught and used up by a python/django code and it creates and redirects to an XML. which is loaded by flash, to get values from the database.The setup works fine when outside facebook, but as soon as I put the setup in facebook, it stops loading the XML completely.
View 4 RepliesI'm using the gskinner.com bridge to load and talk between a as2.0 object in as3.0 . The library works smoothly. If I upload the html it works smoothly. But when I embed it as using fb:swf on facebook, the as2.0 object stops loading, any clues?
View 1 RepliesWhen setting wmode to "opaque" (or transparent) my flash app becomes slow on Facebook. I can particularly notice it when moving the mouse around (even on a tiny area of the screen), if I don't move the mouse then the slowdown doesn't seem to happen. Maybe its because its sending all events to facebook too?
View 1 RepliesI am trying to embed a facebook video on my website but it gives "Video Unavailable. this video has either has been removed from facebook or is not visible".video is public to everyone, is not deleted and I can watch it on facebook via other browsers that I am not logged in. I tried both below embed codes, neither is worked.
<object width="500" height="300">
<param name="movie" value="http://www.facebook.com/v/VIDEO_ID"></param>
<param name="allowFullScreen" value="true"></param>[code].....
I have tried installing and unistalling the Adobe Flash Player several times to get it to work, but it is not helping. It won't work when I am logged into my facebook account.
View 1 RepliesI'm wondering. Is it possible to create an external class just to initialize the API then use functions to call the different items? Like a shortcut to using the API without all the nitty gritty stuff.
View 1 RepliesI've developed a Flash quiz app for facebook, which calls for a php script silently upon completion. The php script's function is to generate an image from the POST data sent by the flash, and then post it to the user's wall.That would be all neat and dandy, but for some reason the image never gets uploaded, probably because when i call it, it's like [URL] and the facebook SDK script inside gets an Oauth error, probably because it is not embedded in their canvas.
If I'd like to have my php script generate an image and upload it to the fb wall, then how should I call it from the flash?This is the AS2 code I'm using currently:
callRemoteFile = function(ourVariable:Number) {
var result_lv:LoadVars = new LoadVars();
result_lv.onLoad = function(success:Boolean) {
[code]....
If I simply navigate to the php with my browser it giver me this:
Fatal error: Uncaught OAuthException: Invalid OAuth access token signature. thrown in /home/a01223445/public_html/appfolder/base_facebook.php on line 1039
If I view the same php through facebook canvas it works perfectly. My problem is: The canvas will show the flash and I want the php to silently be evaluated while the flash is running.
I am developing a game and using the official "Adobe AS3 SDK for Facebook platform" libraries to connect it to facebook.In the libraries, you have two options for connecting to facebook, via the Facebook.as, and the FacebookDesktop.as.The Facebook.as is meant for Facebook Canvas and Web deployment, and it assumes the Facebook Javascript to be embedded in the page that has your .SWF.
However as we all know, games are frequently redistributed, just by taking the .SWF and posting it elsewhere, where most likely it wont have the Facebook Javascript embedded in the page.My question is, that in these situatins, is it a good idea to use the FacebookDesktop.as instead? IE detect the URL, and if we are on 3rd party Website, then use the FacebookDesktop.init() etc methods instead of the Facebook.init() ones?
What do you think? Are there any big disadvantages or a better way of doing it?
I am trying to make an external interface call on widgets I am creating to get the domain for in/out of network stats.
[Code]...
From what I am reading an allowscriptaccess needs to be set to always, which I can't do because there isn't embed code that is sent to Facebook during a share so I don't have control over that.
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?
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 RepliesI 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 RepliesCan we add facebook like button in flash?
View 1 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 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??
[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