Flash :: Facebook Game Client-server Communication?

Jul 6, 2011

We're currently working on a small scale indie card game for Facebook, which we hope will reach hundreds of thousands of players (eventually). We have most of the issues figured out (scalability, server-side architecture, etc) - however one question - communication between client & server.

We have the following requirements:

Server side push messages (no client message request) High scalability (should support at first hundreds and later hopefully thousands of CCUs) Secure, reliable layer Work well with most computers, routers & browsers Works with Adobe Flash/AS3

First thing that came to mind was socket connections, but I was wondering, is there a better solution that answers our needs?

View 2 Replies


Similar Posts:


ActionScript 2.0 :: JSON For Client Server Communication?

Apr 15, 2010

connect to online web service to retrieve data using as2. while I am able to connect and send data successfully, I don't see the response. This is what I am trying to do:

[Code]...

View 0 Replies

Flex :: Server Client Communication - Display Emergency Alert Message

Oct 1, 2010

I have 12 display monitors installed in different floors in a building. These monitors display announcements that will be update once in a day. I'm retrieving these announcements from db and storing in an array and displaying it all day long. In addition to this, I have a requirement to display emergency alert messages on the monitors. My Server is a windows 2000 server. I'm using asp for creating the JSON object.

For the emergency alert I am thinking of doing this:
Create a page in asp that lets user to enter emergency msg and save to db.
Create a page in asp that will check if there an emergency msg in db and show it in a asp page in json.
Create a timer that pings this json page every 1 second. If it's available then show it.
Is there any other sophisticated method available to poll the server or to send messages from server to client?

View 1 Replies

ActionScript 3.0 :: Communication With A Server - Upload Game To The Web

Nov 17, 2010

i've recently created a demo of a flash game(AS3) for a client, in which the user hears a word and has to spell it correctly. the client wants the game uploaed to the web, where it will have to communicate with the server. the client's web developers outlined their desired flow for the process: users will go through a log in screen (html page), and fill in their username and password. after signing in, their details will be added to the url in which the flash movie is loaded.

flash has to be able to read the url and identifiy the user through it. additionally, flash has to recieve an xml with the current words the user will be played. finally, flash has to send the user's score back to the server. i've been developing flash bit by bit for about a year now, but this will be my first web project.

View 1 Replies

Server - Create A Flash Game Eviroment Where A Client's Members Can Play Each Other In A Realtime Environment?

Apr 1, 2011

I'm looking to create a flash game eviroment where a client's members can play each other in a realtime environment. Mostly trivia question type things, and maybe some shared animations. I've done this over RTMP before with a host that also provided video streaming, but I only need the Shared Object communications this time. does Shared Object communication take just as much resources as video to support?

View 1 Replies

Actionscript 3 :: Client + Grails Server - Processing Audio At The Client And Sending It Back To The Server

Mar 8, 2012

We're writing a flash application that can download a MP3 file, convert it to a Sound object, get the raw data and make some processing (like adding sounds, change octaves). After the processing, we want to send the data back to the server in chunks, so the server will be able to glue the data together and recover the new generated file. The problem is: if we send to the server "wav" pieces of sound, we are able to glue them together without any problem in the generated file. However, if we convert each wav piece to a mp3 file (so we can send a smaller file to the server) and join the mp3 files at the server, the result is a sound with some problems at the merge point.

This is how we load the mp3 file from the server:

sourceSnd.load(new URLRequest("sample url to mp3"));
sourceSnd.addEventListener(Event.COMPLETE, carregou);

This is how we convert each piece of mp3 to bytearray and wav:

[Code]....

View 1 Replies

Flash :: Load Facebook ID Vars Into Client Side Scripting?

Sep 2, 2011

I'd like to simply display the users name and photo inside a flash app. I hope to do this only in the client without using any backend scripting. The ActionScript 3 SDK for Facebook Platform is under construction for the next few weeks to comply with new facebook requirements so I don't trust the current build to be useful.

We have searched and built tests for a week with no luck. I have a feeling the answer is either very simple or not possible.

View 1 Replies

Media Server :: Flash Communication Server For Linux Download?

Jun 8, 2010

I can't find free version FCS distrib for Linux

View 3 Replies

Flash :: Php - Facebook Game Authentication

Apr 9, 2012

I need to authorise my Flash game (which runs on Facebook) users against my game server. I'm able to get their data like id, access token, etc, from Facebook on the client (I'm using the Flash Facebook API) but I'm not sure how to authorize them on my game server (e.g. do a login with a database query). One scenario that I have on my mind:

If I could get the same access token from Facebook on both the client (which I already do) and the server (with, for example, a redirect URL, which I tried but does not seems to work), then I could easily compare the two tokens (together with the user IDs) and thus authorize the user. UPDATE To put it simpler, I want to catch the token that is returned from Facebook on the server-side before it gets to the client (it can be a simple PHP script that parses the URL token parameter). Next, store it in the DB on the server, and when the client queries the server, I can do the comparison.

View 2 Replies

Multiplayer Flash Game (like Some In Facebook)?

May 12, 2011

Is there any free Open Source Multiplayer Flash Game (like Happyfarm... in facebook) that I can use and build my own small network?What I'm looking for is the source code of some Multiplayer Flash Game (like http:[url]....for example)I do not know to much thing to talk about it, but if there is some, I hope:

+The game can run without any other system (not a plug-in or mod)

+If there is server-slide script, it should be PHP

+There is an English document for deverloper

View 1 Replies

How To Create Flash Game On Facebook

Aug 26, 2011

What would be steps and technology needed to create a flash board game on Facebook? - something like checkers?

Will all game attributes - like ability to keep score, resume broken games and invite friends?

View 1 Replies

Php :: Integrate A Flash Professional Game Into Facebook?

Oct 26, 2011

I'm trying to integrate a Flash Professional/AS3 game into Facebook. The swf is hosted on a secure (https) server. The swf has to connect to a SmartFoxPro socket server on another domain.I'm using the Facebook Actionscript API to interface with Facebook. (Should I use PHP, instead? I read an article that recommends using PHP, because the Actionsrcipt API may not be kept up to date.) When I fire up my app, I get a "Security Information" pop-up box saying that the page contains both secure and nonsecure items. I click "yes" to all the display of the nonsecure items.

Then, I get an "XD Proxy blah-blah-blah" popup. This pop-up goes away, and then my app logs in to my SmartFox server.So... What is this "XD Proxy" window? I think it looks unprofessional, and users may think there's an error with the app. Also, can I block or hide the "Security Information" pop-up? Why don't I see this in other FB apps?

View 1 Replies

ActionScript 3.0 :: Flash Game With Facebook Connect?

Jul 11, 2011

i made flash game in action script 3.0. In my game i have leader score.. i have 2 buttons 1. share on facebook and 2. challenge your friends on facebook.on clicking 1 button it will directly go to facebook and share my score on facebook.And on clicking 2 button my all facebook friends pics will appear with checkbox when i am selecting few of my friends and click on go buttons, the facebook request will go to selected friends only for challenge ... how to do this 2 buttons functionality.

View 1 Replies

Media Server :: Find Client Disconnected When Client Lost Net Connection?

Oct 27, 2010

how can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.

View 1 Replies

Flash - How To Approach Multiplayer Game Facebook App Project

Jun 16, 2011

I wish to create a multiplayer game facebook app. A game will have 1 to 4 people in it playing from their own systems. I wish to target, lets say, 10K simultaneous online users. I am planning to write the client side game in Flash. I wanted to know how these clients communicate with each other. Can these clients communicate directly with each other or I should go with "server as middleman" approach? I want the game to work even in "restricted" networks. If server, how do I have things working from google app engine cloud service? I came across channel API, should I use that? Would it work with a flash client?

View 3 Replies

Developing Characteristics Of Facebook Social Flash Game?

Jul 1, 2011

I just start to learn Flash AS3 and trying to make a Facebook social flash game. How is Facebook flash game divide its data into many parts for loading? For example, it's usually found that if we click on a new item (ex: character cloth, hair, eyes, etc) and drag it into stage, we need to wait for loading it from the ....er the sever(host), is it? what is the system of this and how where can i learn it? So there will be many people playing the game. therefore how can we store the accounts' data and load it when they start? How does the fullscreen system work? two separate flash?

View 2 Replies

Flash :: Record Audio Without Using A Communication Server?

Dec 17, 2010

Can i record audio without using a communication server in flash?

View 1 Replies

C# :: Communication Between Flash And Java Server Based App?

Jun 1, 2011

For example, Flash records voice and sends it to the server where Java or C# apps can proccess it and return back some data (or write it to db). How this communication possible, which protocols sould be used and etc.

View 2 Replies

Flash :: Make A Social Game In Facebook Like Happy Aquarium , Farmville?

Jun 2, 2010

I want to learn how to make a social game in facebook. How to go about it. I think you would need a team of devs. What languages are used to make social games like farmville, happy aquarium, etc.

View 4 Replies

ActionScript 3.0 :: Handling Communication Between Flash And Server-Side

Jul 19, 2011

Need to find a way for Flash to talk to an ASP.NET server-side script and save some product information directly from Flash into a customer shopping cart...but, how are people handling this communication between Flash and the server-side C#? I want my Flash .swf to browse products and add them to the cart from within' Flash securely. Currently people can browse / Sort the products, but how are people passing information to the Flash movie securely? How are people handling information like session variables? What are people using to use Flash as their only interface tool for logging in, or accessing their account information through a Flash interface?

View 6 Replies

Zend Framework - Zend_AMF Endpoint Protection In A Flash Game Deployed In Facebook?

Apr 25, 2011

feasable protection of my Zend_AMF gateway? I mean, how can I prevent someone from calling my service methods?

View 1 Replies

Media Server :: Possible To Make Communication Between FMS Chat And XMPP Server?

Jul 22, 2010

the chat client application is created using adobe AIR, the application should be able to do communication sims like Google Talk and AIM does. If it is impossible is there any other solution to do that?

View 2 Replies

Flex :: Events - Game Communication Between Entities

Nov 16, 2010

I'm currently developing a Flex game which is a kind of table and cards game. Thinking about developing other games using entities from this one, I chose for creating my entities decoupled from the game and even from other game entities. As a result, I'm currently using events for communication between my game entities.

Game entities, in my case, refers for example a player hand component which can receive a card, or send a card to another unknown component by a custom requesting and dealing events. For instance, the same can happens to a deck of cards holder component. This approach appeared to be a good designer in the beginning, but after some time, my game controller class has a lot of event handler functions which started looking bad for me.

My current idea is to create a game event manager coupled with my game controller for handling events and cleaning the controllers code. Finally, I'm not sure about my design decision exposed above, so I would like to know about you folks which communication design would be indicated for this kind of a game.

View 1 Replies

Flash :: Adobe Facebook API Facebook.login VS Facebook.ui Popups?

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

Flash :: Use The Asterisk As The Communication Server And Java As Primary Technology In Building The System

Aug 19, 2011

We want to build the web-based softphone using SIP technology And we want to use the Asterisk as the Communication server and Java as primary technology in building the system so we have got following flash based softphone using Adobe Flash,FMG,FMS flex based softphone using Flex , Red5 Server we are also reseraching into MjSIP and PjSIP

[Code]....

View 2 Replies

Media Server :: Setup Stream Encoder>>Flash Media Server>>Flash Player Client?

Jan 2, 2011

I am trying to create a flash player to stream an on online Internet radio station using FMS. I chose FMS after being told that I need RTMP server to extract the metadata. Our radio audio is being encoded using a DJ interface called SAM Broadcaster. But for some reason, it does not have an option to send over the stream directly to a Flash Media Server. Only options are either IceCAST or ShoutCAST. How should i setup the stream? Should it be Stream encoder>> IceCAST/SHOUTCast Server>>Flash Media Server>>Flash Player Client. Or should I setup Stream Encoder>>Flash Media Server>>Flash Player Client? Shouldn't Flash Media Server be an alternative to IceCast or Shoutcast?  If that is the case, how do I send over the stream from SAM Broadcaster directly to Flash Media Server without restreaming through another streaming server?

View 2 Replies

ActionScript 3.0 :: Connect To C# Server From Flash Client Using SSL/TLS?

Sep 15, 2010

We are currently in the process of trying to connect a c# server from a flash app. This hasnt been a problem so far - we have simply used the Socket class.We now have a requirement to encrypt the stream using SSL/TLS. This is no problem in c#, but much more problematic on the flash side. So far we have found two options: As3crypto lib, and AIR 2.0 SecureSocket. However, neither option has proved to be successful.

As3Crypto - TLSSocket

Using this method when we execute the code, the server throws an exception - this appears to be due to As3Crpyto's PARTIAL support of TLS.

AIR 2.0 - SecureSocket

We are currently using the latest Flex 4 SDK. We have imported AirGlobal.swc to alllow us to create a SecureSocket in a similar manner to the TLSSocket. The code builds but does not run - some File Not found error or something - probably because SecureSocket is not found in the runtime. I assume this is because AIR is intended for desktop applications rather than apps embedded in a browser.

So, now we're stuck. We have the option of encrypting the data instead using some PGP algorithm available in the As3Crypto lib. However, we would much prefer to encrypt the stream using something like TLSSocket or SecureSocket.

View 1 Replies

Flash :: Client XMLSocket Not Connecting To Server

Jul 30, 2009

I have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so there shouldn't be any cross-domain problems. I also set Access Network Only in the publishing settings. When I call the XMLSocket connect, the server seems to get a new connection. But, the XMLSocket.onConnect callback is not called with success=true.[code]...

View 2 Replies

Flash :: Use Java On Server And Client Side?

Apr 13, 2010

What technology are better (robust, stable, speed) for rich web app with flash movies, chat, etc. Somebody said that Red5 will drop down if more that 50 users try to suck video stream from it. Is there people who use Java on server side and Flash for client side?

View 1 Replies

Php :: Detect Disconnection Of Flash Client From Server?

Jul 24, 2011

How can the disconnection or Closure of the flash client be detected while using a php backend which ensures that only active client usernames are present in the datbase. My approaches were to use some polling method - where the client sends some message to the server periodically else the server deletes the client's name from the DB assuming it is closed - or to use some augmenting javascript code that informs the backend of a closure event.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved