Actionscript 3 :: Failed To Load Swf On A Facebook Iframe Application
Feb 12, 2010
I'm currently learning how to make facebook apps, and I've hit a problem. Usually when I make flash applications, I can use the index.html and run the swf from a webserver. However, I tried to make a facebook iFrame app using the same setup, all I get is the Alternative Content Text [URL]
By far the weirdest thing I've ever seen. On some machines (!) IE (!!) attempts to load an SWF file via HEAD request instead of GET. This happens only when the page is running in Facebook IFRAME application - when running solo works fine. Naturally, on FF and Chrome everything works just fine. The SWF is embedded using jSWFObject. There's no visible common feature to the machines which experience this problem - laptops, desktops, XP, Vista, 7.
I have a Facebook application that has a picture gallery. It's build in Flex 4. I want to allow users to link to a specific image. How can that be done?
The only way I see this being done is adding a GET var like &my_picture=asd.jpg in the Facebook page URL, but I don't know how to read that from the iFrame.
I have a mx:html component in a AIR Desktop Application that load an external webpage into it...this webpage has an iframe in it and the iframe load (obviously) another page...I can't figure out how to get the code of the iframe...If I try to get the webpage content I only retrive the start page like:
It's like as the second page is not loaded, but it's actually be loaded and rendered in the browser window (i tried also using a button so I can delay the search for the iframe content.
Complete log error is (_defaultRoot_, _defaultVHost_) : Failed to load application instance publishLive/live.. Flash Admin Server and Flash Media Server are running on local machineWhen testing I get [object NetConnection]: NetConnection.Connect.Failed When I remove the main.asc file it works...what's going on there?
var nc;var ns;var nsr; // Called when a client connectsapplication.onConnect = function(client) { // accept the new client's connection application.acceptConnection(client);
I am trying to add the a Facebook iFrame to my Flash website. Since there is no real way to actually integrate the Facebook iFrame into the website, I was thinking of simply trying to overlay the iFrame on the Flash website. This is done fairly easily from what I understand but have another issue. I want to be able to disable the iFrame when I select a button on my Flash website. Is this at all possible. Any other routes I could consider?
I 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].........
when i use flash cs5 publish the app for ios,It works fine.But when i upload the package to the app store,application loader popup message: "Application failed codesign verification.The signature was invalid,or it was not signed with an Apple submission certificate."I create the certificate file from mac.
I have found some question which refers to my initial question :on xcode Usually resolved in synthesis by :
flushing certificate cache correcting the signing certificate ( using Distribution in replacement of Developper) C checking and correcting the Application ID who was sometimes not the same between the one declared in iTunes Connect and the one in the app.xml file
The fact is that I still has the problem on Flex Builder, which is when I upload my application, it failed with "Application failed codesign verification"
[Code]...
So the question is what could still block the uploading of the application on the App Store?
How to resolve "Application failed codesign verification." when uploading Application, build with Flash Builder 4.6?
I'm making an air-application in flash professional using actionscript. I was wondering if any of you know how (or if it's even possible) to use facebook to log in to my application. I found some stuff on the web, but I only found stuff to HTML, not actionscript.
I need to embed a flash application(that will access FB API from within) in Facebook Canvas page.If I use , some FB related details(like session key) will be automatically passed to the flash. But since, FBML is going to be deprecated, I want to use iFrame. Is there any way to pass those variable automatically or do I have to retrieve them in PHP and pass it to flash through loadvars?Also, if I have to do it manually, is there any documentation for the php sdk 2.1 ? (already searched about it a lot, and I think there is no doc nor tutorial for 2.1)
I tried to make a facebook app, but I failed. I have no idea how to use my flash content. I tried to make a new app with Fbook Developers, I uploaded the animation as an HTML file on my server, but it's not working. All i see is a blank page. Then I searched some codes, but none of them worked. This is my final code (which is still not working)[code]...
I would like to integrate facebook in my actionscript application. I am using facebook actionscript api available from URL...I would like to know if there is any way to creating custom login dialog rather than using the default facebook login dialog as i want the user to just sign in to facebook rather than exploring the other fields like "Sign up" and "Forgot password"I cant use the current api as websites use it for logging to facebook. It is open to sign ups exploring other languages.I would like to prevent the whole thing by customizing the login dialog. Does facebook provide something for that? Or can it be done it in any way?
I have one page index.php (a.k.a canvas page) on my server and I want to add link on thesame page link that will referring to my second page secondpage.php
I have a Flex and Java application and i am using BlazeDS between flex and java. Generally my application works fine. I observed when ever i try fetch data little faster(not giving gap between two fetch commands) then i am getting the error "Server error :faultCode:Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Failed'"
I guess when ever load is increasing on BlazeDs, i am getting the error. I am calling the java service using following code
I'm having a problem with flash/javascript/iframes. I have a flash banner that is positioned at a fixed position on the bottom of the screen. When I press a button on the banner, the page (which is an iframe) should change.
I got it to work using javascript. But it only works on the Internet. On my local computer it doesn't work. No error, nothing. it is a task for school (for my exams) so it should work only locally.
Check out: [URL] and click on "Vanille", the page should change.
how to create a pop up dialog using facebook application, i found some examples but it doesn't worked for me, now i loaded my friends then beside the profile pic of my friends in have a button name select, where if i select that current friend it will now pop up the image and name then have a button continue how should i do that?
How can I send a message to the currently logged in user from inside a Flex application contained in a Facebook iFrame and using the official AS3 Library for Facebook?
I know that we can make application using Adobe air that will run on mobile, desktop and web environments. Can we deploy same application on facebook? like we do with other flash applications.
I'm building an AIR desktop app with facebook support using Adobe Flash builder. So far it's working alright, except for one detail, once a user logs in, that session stays open, even if the logout button is pressed. My logout code look like so:
protected function logout():void { FacebookDesktop.logout(handleLogout, APP_ORIGIN); }
I set APP_ORIGIN to "[URL]". I checked Adobe's documentation and they say: appOrigin:String (default = null) ” (Optional) The site url specified for your app. Required for clearing html window cookie. But I don't know what that means, what is the 'site url specified by my app'? Where do I get it? Sorry if this is a noob question.
The problem is, this works fine in google Chrome, but not in mozilla firefox or IE. So that eliminates the idea of it being a coding error on my part. Is there another way to do this that all three browsers will support?