Flash :: Post A Swf Via Graph Api Using PHP SDK?
Aug 29, 2011Flash - How do I post a swf via graph api using PHP SDK
View 1 RepliesFlash - How do I post a swf via graph api using PHP SDK
View 1 RepliesIn the below code the traced values are correct its there in the chart data provder but the
input graph is not plotting.there is no error in this code.Can anyone solve it?
function fnctn(evt:Event)
{
var tp:int = bulb1 + bulb2 + bulb3 + bulb4;
[Code].....
School Project with the following actionscript in Flash 8, I want to show a slope graph? What code to add to make slope graph work?
/*var orig_x:Number;
var orig_y:Number;
orig_x = (plane_mc._x)+(plane_mc._width/2);
[code].....
i'm having a bit of trouble with the facebook actionscript graph api While i can get posting to "/feed" to work with Facebook.ui, (does a facebook popup), i can't seem to get it to work with Facebook.api here is my code:
[Code]...
Im building a reservation form, using actionscript and php. I use sendAndLoad to send variables to php via POST, which returns a different HTTP POST response in case of sucess or not.
Is there anyway to "read" HTTP POST responses with actionscript?
I am making dynamic post values to post to a URL.
[Code]...
Maybe I am doing this the hard way with eval, is there an easier way, such as passing an array of post variables?
I have som porblem with Facebook Flash graph API I am receiving request, but realy when I check my wall in facebook FacebookDesktop.api not adds Like or unLike
private function likeClickHandler(event:MouseEvent):void{ handleLikeClick() } protected function populateLikeCount():void { if (intData.user_likes) { likeBtn.label = 'Unlike'; } else { likeBtn.label = 'Like'; } likesCount.text =
[code]....
I'm doing a FB app with the Graph API in Flash. I've got everything working which consists in uploading some images created by the user in the app. The only part that I'm missing is how to tag these photos as with the Graph API it is not possible.
So I was wondering if it's possible to call a method of the REST API even though I'm using the Graph API.
I have two basic bar charts and I am currently using XML/SWF Charts which is great but the problem I have is I need to be able to send these graphs via email to the user. As well as display them on the site.
I know sending Flash is a bad idea, I would love to find a way to convert my current graphs to an image, but am pretty certain there is no quick fix without building a work around myself.
Therefore what are the best open source or closed solutions for this problem.I need to be able to display two graphs dynamically and then email them to users.
we developed an as3 facebook application (http:url....), but unfortunately the authenification popup is blocked in all major browsers (ie, ff, chrome), which leads to a high rejection rate for our campaign.If I have a look here ... http:[url....These fellows used the same api (http:url.....), I checked it with a decompiler and their popup is never blocked!.
View 1 Repliesi have a project to do on flash..its about laws of physics and i want to include dynamic graphs.. e.g projectile motion.. the guy enters the distance and the angle and a graph is plotted from the calculations it makes.thing is that i dont even know to make a graph in flash..now i have to make a dynamic one.
View 9 RepliesHow to draw a triangle in a math graph which displays X and Y axis.
View 2 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'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]...
I'm asking this question because I can only find examples and answers for the PHP version. I need the Flash version. I'm trying to get my friends information, but I think I'm doing it wrong because if I trace it, it'll give me either [object Object] or undefined.
I did Facebook.api("me/friends", handleApiGet);
private function handleGetApi(success:Object, fail:Object):void
{
if (success)
{
[Code]....
ExternalInterface.call("doAlert", success) returns me [object Object], [object Object]. I also did ExternalInterface.call("doAlert", success.name), it returns me undefined.
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.
I'm trying to draw a static graph based on an Array of Numbers. This graph should be nice smooth sinus-like.The bottom values should be always zero, the upper values are specified in an Array of Numbers.
I've been trying to achieve this effect with curveTo(), but without any luck.
EDIT: Values are like: 10, 15, 40, 28, 5, 2, 27 etc.
I wanted a suggestion from you guys regarding drawing and scrolling performance. The requirement is - I have to draw a graph with sound volume's values updated at 30 fps. And I need to draw this graph and simultaneously scroll to fit in the new values. So the length(width) of the graph is unlimited.
View 1 RepliesThis is more of a question of logic than coding.. but here goes. I've got an array of points, and when plotted on a graph in flash it shows something like this:The blue points just highlight the points of each spike. While the red points are points I want to find.My question is, how do I find the red points on each spike?At first I tried sorting through the array for the highest points, but that didn't give me all the red points as some blue points are higher than the red points.Just by looking at the graph I can immediately see the points I need, but it's a bit harder to find those using code..
View 10 RepliesI'm trying to display some Facebook video thumbnails in a Flash application, all of the video thumbnails I try to load seem to be hosted at [URL]. However [URL] cannot be loaded (Access Denied). Is there some way around this? (other than loading the images through a proxy). Maybe an alternative url which can be used?
View 2 Replieshow i display the coordinates of a random triangle in a graph which ranges from -10 to +10 in XY axis with the points like A(2,1) etc with arcs in each corner, in actionscript 2.0
View 1 RepliesI want to draw stock price in real time as a candle graph. I get open flash chart from someone and it looks good at drawing. I don't know how to update the candle graph in real time (using Ajax?), and is it a good way? I use Python a lot. But I cannot find tools as easily to use as OFC.
View 3 RepliesHow can I post a URL, for example[url]...
Without opening another window or refreshing the page? (within the flash movie)
I'm writing in a programming language, that is then passing variables to PHP, and I then need Flash to pick those variables up and do something with their data. Is there a way to get PHP to post into flash? rather than having flash load variables from a static page? If not what would the best option be? a text file?
View 5 RepliesExample of code which would be used to send a bunch of variables to a PHP script via flashThis would require the PHP script to load when the data is sent.I want to use this for a Flash event calender which triggers more information about the event to appear in a HTML area of the page when an event is clicked on. The PHP file would be the same file that the SWF is embeded in so the FLASH file would reload the page with the variable sent to the PHP. The PHP would use this variable to select the right content from a MySQL database.
View 13 RepliesI'm trying to parse an image file, but i get the 504 error. Normal data, like text or numbers its ok...
View 1 Replieshow to post some variables to a URL. Let's say the user has played a Flash game, packaged as an EXE or SWF embedded in HTML stored on the user's computer, not from some webpage, and would like to register the score by completing a simple form with just an e-mail address and pressing a button.
Would it be possible to do it even thought the Flash application is not on an active webpage?
I have a flash-movie on my webpage, which makes a post when its done playing. I want to catch that post and update a session.
I get the following "post-error" when the movie ends.
POST /en/RunTest/test/showmovie/finish
HTTP/1.1 500 Internal Server Error
"test" is my controller"showmovie" is my action which takes an id as parameter. fx.
/en/runtest/test/showmovie/1
That is the page my flash is on.
I've tried the using the HandleUnknownAction-method, but it just never gets there. I've tried some MapRoute'ing - but havent succeded.
What i want is the method setMovieSeen to be called whenever i recieve the post from the flash.
I basically have a form inside of Flash that I need to submit to a server-side processing page, which will then return either json or xml telling if it succeeded or not ( json, xml I suppose ). My version of Flash is CS4 and I'm wondering if there are any libraries or frameworks I can use to accomplish this.
View 2 RepliesI published 2 days ago a Facebook app, it's a flash game, after the game over, the flash file POST score to my php file, Publish your score to wall if you beat your highscore, Facebook disabled the application because bad reviews from users.
How to POST from Falsh to PHP without redirecting the user, i want after the game over POST score, insert it in DB, and show the user Stream Publish popup if he want to publish to wall the score or not.