Uploading Files In Flash 10 On A Facebook Profile?
Feb 16, 2010
I am developing a facebook application which sits in an application tab.The app is developed in flash and as such must use fb:swf to embed the swf.Therefore it sets allowScriptAccess = never on the swf.There are 3 things that I will need to do, and I am not sure if it will be possible.1) Load external SWF files into the parent swf2) Load dynamic XML from the server3) Upload files to the serverI am using flash 10.
View 1 Replies
Similar Posts:
Feb 1, 2011
Someone have already done this? I have a solution in mind, but I don't tried yet. Before trying i'm wanna know if it's possible.
My solution is just posting a wall into an html page and getting the source of page in Flash and parsing it.
View 2 Replies
Oct 19, 2010
I'm trying to load profile images (friend images) from Facebook with AS3 but I seem to be running into a security issue.I'm currently using the "official" Adobe Facebook API for Actionscript 3 which works fine. However, I seem to be having trouble loading profile images when running my application in a browser. The images load fine when running in the Flash IDE.The images are being loaded from URL... and there seems to be a crossdomain.xml policy on that domain:[code]
I just noticed that when I visit one of the images in a browser that I'm actually redirected to Facebook's CDN where the actual image is stored. When I hard-code the image url with the redirected URL I can load the image in the browser. It seems that this is not a security issue after all but a redirection issue.If this is a redirection issue then the question would become; How can I have Flash Player load an image from a redirected URL?It seems that the URLRequest class has a followRedirects property which is only available in AIR.I'm currently using a PHP script to get me the redirected URL as a work around but this of course is far from ideal and potentially a big strain on my server.
View 6 Replies
Nov 8, 2010
I am trying to create a facebook application that will allow me to post to a fanpage wall once installed. to be honest i am a newbie when it comes to actionscript and am just looking for a simple solution. I have set one up that allows me to post to a personal profile but dont know how to do so for my fanpage.
View 0 Replies
Mar 3, 2011
I'm having trouble passing the url for a users facebook profile picture to a Loader() variable. I'm using a PHP file to get around the security and from the debug I made, it shows that I'm getting the URL fine, but the Loader runs the error event listener. Here is what my facebookProxy.php file looks like;
<?php
$path=$_GET['path'];
header("Content-Description: Facebook Proxied File");
[code].....
View 2 Replies
Jul 6, 2011
As the title says im trying to load Facebook profile images into flash using AS3,now im pretty far with this but i hit a blockade.[code]Im obtaining the friends list of the current user through some PHP a friend of mine wrote, and accesing their ID's, which i use to load their profile images.
View 1 Replies
Jan 24, 2011
I'm trying to upload a picture through the Graph API, but somehow it doesn't get through. Correct me if I'm wrong, but if I don't give an album ID, it should create an album by itself right? I'm a quite confused by that. Right now, I'm using
[Code]...
View 1 Replies
Feb 1, 2011
I've been looking around the internet on how to use the PostRequest class given by the Facebook in their Graph Api, but I couldn't find anything on it. I'm wondering how to use it to upload a bitmapdata. It just doesn't seem to be moving at all
[Code]...
Both doesn't work, which puzzles me. The first one worked without encoding it in any way, so I don't get why it doesn't work when I try to just call it like that.
View 1 Replies
Oct 25, 2011
I'm trying to display the profile images from both facebook and twitter. For facebook, the URLs I'm receiving are something like this (not actual urls):[URL]... Which is then redirected to the 'actual' url like this:[URL].. I'm also doing this with twitter, with the same issue (redirected url).
So, when I load the image, it loads fine. But when I close the container that the image is in, then I get the security sandbox violation. I can get this all to work if I add the URL from the 'actual' image url like this:
[Code]..
View 1 Replies
Jan 30, 2012
I'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.
View 1 Replies
Jun 23, 2010
Developing a flash based image editing application and I want to be able to share and or save edited images to facebook.
Do I need to get a API Key to upload photos? What if I simply want to share a link with my friends? Do I still need an API key?
View 1 Replies
Jun 19, 2010
As known, each subsequent time that the FileReferenceList.browse() method is called, the FileReferenceList.fileList property is reset to the file(s) that the user selects in the dialog box. And my question is:
How to manage to "remember" all previously selected files, each subsequent time that the FileReferenceList.browse() method is called? so that to append new ones and upload them all later on.
View 1 Replies
Feb 3, 2009
My users upload a certain kind of text file that sometimeshas references to images stored locally on their hard drive. I needto check this file either on the server or within a flash app tosee if it has these references and then grab those images in aflash app to upload to my server.So I can use FileReference easily enough to have users uploadlocal images. But FileReference requires users to select their files with a dialog box. I can't have that. Myusers wouldn't know where to look and there are typically way toomany files, sometimes with the same name but in differentdirectories.
I can also just use URLLoader with a local URL, I guess I canprobably just use Loader too? That works great. The problem here isI can't communicate with both the server and the local filesystemin the same flash application due to Flash's security sandboxrestrictions. So I can get out of those security restrictions byplacing or editing a trust file in designated locations on variousOSes. I then need to install this trust file which is more invasiveand confusing to users then I want to be...Java's method of accessing local files from a web applet bysimply signing the applet with a certificate and having a dialogbox popup where the users grants access is ideal. Is there anything
View 4 Replies
Feb 3, 2010
I have been working on a flex uploader, where the user can select multiple files.It works fine when the files are uploaded in a queue (one at a time), however as soon as I try to have it upload 2 files at once I run into issues.
It seems that files will often lock up, and either stay at 1% until every other file is uploaded, or just not complete at all. There is never more than one file uploading at a time.Is there some issue with calling .upload on multiple files at once in Flex?
View 7 Replies
Feb 1, 2012
Using an unobtrusive technology (HTML5, Flash, Java Applet) which runs in the browser, is it possible to handle compressing of files before being uploaded to the server? I'm building software which will be consumed by a lot of slow connections and by non-computer-savvy users and circumventing an application install would be very beneficial for them.
View 1 Replies
Jun 7, 2011
I hate CS5, so I'm trying to stick with CS3. However, I'm doing a Facebook app, and I need to use the GraphAPI, which is a swc file. So far, I cannot figure out how to use the swc file with Flash CS3 Professional. CS5 has a "browse to swc file" option in "Publish Settings". CS3 does not - only "browse to folder". Is this even possible in CS3, or is my only option to switch over to CS5? (Again, I'm talking about Flash Professional, not Flash Builder.)
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 1, 2010
Actionscript:
System.security.allowDomain("http://" + _root.tdomain + "/");
import flash.net.FileReferenceList;
[code].....
View 2 Replies
Feb 11, 2011
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 Replies
Oct 8, 2011
Flash Builder 4.5
SDK 4.5.1
The PHP (the // Test part is to check if a script actually reached the php file):
Code:
<?php
$uploaddir = 'C:/Users/XXX/Desktop/UploadTest/';
$uploadfilename = basename($_FILES['userfile']['name']);
$uploadfile = $uploaddir . $uploadfilename;
[Code]....
When I upload a file to "Up_Test.php" via a regular HTTP form, the image ends up in the destination folder and the test file wasHere.txt is created as well.
When uploading with the AS3 function above, only the wasHere.txt file is created, i. e. the AS3 connected to the PHP script, but it did not send the file.
View 3 Replies
Aug 25, 2009
I made my own Flash CMS where I can upload files to a server via a php-script.It works fine on PC, but stalls on Mac. Well, on Mac it actually upload the file, but somehow don't tell Flash that it's finished uploading the file so the complete-listener never gets the message.
View 2 Replies
Jul 18, 2010
What are, nowadays, the best practices for uploading a large file (which may cause a timeout) with ASP.NET Web Forms and/or MVC? Increase Server.ScriptTimeout (only for the specific POST request); Use some flash client-side uploader like swfupload ([URL]) or plupload ([URL]), but Flash uploads have some issues with proxies; Use some gmail-like javascript (like [URL]
View 2 Replies
May 9, 2011
I'm working on an application where client may upload any folder which may contain sub folders along with files. Is it possible to upload a folder instead of a file?
View 1 Replies
Jul 2, 2009
I want to upload my images to server,But i have no idea.pl share if u have any good sample.
View 1 Replies
Feb 3, 2011
I'm building an app that needs to upload multiple files to my server. Ask of these files are in one folder. I was told I carnot directly tell a fileReference which files to upload, they would have to be selected manually through browse ().
View 2 Replies
Sep 10, 2011
I wish users to be able to email me files. I know AS3 you can upload files (PDFs up to 25Mb). Is the best way to:1. Upload the file in flash, and get PHP to then directly email it to me2. Upload the file in flash, get PHP to save the file on a server, then email it to me3. Upload the file in flash, get PHP to save the file on a server, then email a link to me for me to download If it saves the file on the server (options 2 and 3), what happens about deleting the files as after a while they will take up lots of space.
View 4 Replies
Jan 11, 2009
IS there a way to upload files using the FileReference Class without using the browse() function? I would like to just tell Flash what classes to upload without the browse box popping up.
View 10 Replies
Feb 6, 2007
I've done the tutorial "Uploading Files using FileReference" he actionscript is this:
import flash.net.FileReference;
var progressBar:MovieClip;
var reference:FileReference = new FileReference();
[code].....
View 5 Replies
Aug 26, 2008
I'm writing a webbased flash application to upload big files (up to 750MB) on a server using PHP (Version 4). For small files it will work, but for large one the upload process seems to freeze. The upload "freeze" at different times and loaded MegaBytes.
[Code]...
View 1 Replies
Jun 28, 2010
I coded a multiple file uploader using the FileReferenceList and PHP. It works great for me all the time on my Fios internet connection, which is by far faster then DSL, etc... So my issue kinda went unnoticed until I got on a DSL connection. Now, many of the files I was uploading seem to be timing out, but there is no indication of this. No errors, etc... just stops its progress and NEVER finishes. Tried bumping up the script execution time on the server
View 6 Replies