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


Similar Posts:


IDE :: Flash Pages And Communication Handling

Apr 28, 2009

I am having mainly 2 problems in Flash for some time and I need some clarifications on them.

1. Handling pages.
How do I handle working with pages in Flash? Do I create a frame for each page and place the content of the page in that frame and when needing to go to a page I simply go to it's frame? Or do I use ActionScript to put and remove content from the stage and create every page in this way? What I mean by this is: if a page has a menu and a picture, I use ActionScript to put the menu and the picture there. If the next page has some text and a button, I use ActionScript to remove the menu and the picture from the last page and put the text and the button from the new page.

The first method seems simpler but that means that if the page has some content that needs to be loaded (a picture, for example), this content will need to be loaded every single time the page is opened.

The second method requires more work but is it more efficient ? When I remove the content from the page, do I move it to a negative x and y so that it cannot be seen or do I remove it completely and just load it again the next time the page is opened?

2. Handling a flow communication with PHP.
I constantly need to communicate back and forth with PHP. I use a LoadVars variable to send data to PHP (using "POST") and I use an XML variable to retrieve data from PHP (I use the "sendAndLoad" method). The data sent by PHP is in an XML structure. The problem here is that I need to have different channels working. I need to receive several different types of data. Do I create a set of LoadVars and XML variables for each type of data that I need to receive or do I simply use only the one set and use an ID variable to specify with which type of data I am working at the moment ?

View 1 Replies

Flash8 :: Flash Pages And Communication Handling?

Apr 28, 2009

1. Handling pages.How do I handle working with pages in Flash ?Do I create a frame for each page and place the content of the page in that frame and when needing to go to a page I simply go to it's frame ?Or do I use ActionScript to put and remove content from the stage and create every page in this way ?What I mean by this is: if a page has a menu and a picture, I use ActionScript to put the menu and the picture there. If the next page has some text and a button, I use ActionScript to remove the menu and the picture from the last page and put the text and the button from the new page.

The first method seems simpler but that means that if the page has some content that needs to be loaded (a picture, for example), this content will need to be loaded every single time the page is opened.The second method requires more work but is it more efficient ? When I remove the content from the page, do I move it to a negative x and y so that it cannot be seen or do I remove it completely and just load it again the next time the page is opened ?Please explain to me, as detailed as possible, what do you think is the best method in working with pages.2. Handling a flow communication with PHP.I constantly need to communicate back and forth with PHP. I use a LoadVars variable to send data to PHP (using "POST") and I use an XML variable to retrieve data from PHP (I use the "sendAndLoad" method). The data sent by PHP is in an XML structure.

The problem here is that I need to have different channels working. I need to receive several different types of data.Do I create a set of LoadVars and XML variables for each type of data that I need to receive or do I simply use only the one set and use an ID variable to specify with which type of data I am working at the moment ?

View 3 Replies

Flex :: Download Files From The Server Side To Client Side Without Prompting A Window To The User To Download When Any Updates Happen At Server Side?

Dec 17, 2009

I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.

editCode sample taken from other post. Warning: it's a huuuge chunk o'code.

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"

[code]....

View 2 Replies

Flash :: Flex Building An Application With Client Side And Server Side

Sep 3, 2011

I want to create an application that has these features

- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.

- At server side: Manage images used in client side, I can delete, add new images.

Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?

View 1 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 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

ActionScript 3.0 :: Writing And Modifying XML Files Using Server-Side / Flash Media Server?

Jul 8, 2009

can you write and modify XML files using server-side Actionscript? I've been going through Adobe's Server-side Actionscript reference, reading up on the File class that lets you modify files on the server, and the server-side XML class that lets you read and 'understand' XML data, but can you put them together and essentially edit XML files on the server?

View 2 Replies

Actionscript 3 :: OAuth Twitter Without Use Of A Proxy Server Or Server-side Script In A Flash Web Application?

Apr 19, 2011

I can't use a proxy server. Can't use google app engine etc. I can't use server side code. No php or python. I need to be able to do logins to twitter and post status updates to twitter through an Actionscript 3 web application. The biggest thing is obviously getting around twitter's crossdomain. Is there a clean ajax version of this or something?

View 1 Replies

Flex :: Server Side Alerts For Client Side App

Aug 28, 2009

User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functionality? convert to html? take screenshot? assume something is running client side?...)

View 2 Replies

Flex :: Adobe Client-side Or Server-side?

May 17, 2011

I am writing a thesis and have been able to place all my frameworks under two categories (client-side frameworks and server-side frameworks), but I can't seem to finf where to place Adobe Flex...In which category should I place this or should I place it in some separate catgeory?

View 3 Replies

ActionScript 3.0 :: Better To Thumbnail Client Side Or Server Side?

Apr 17, 2009

I am making an app where people upload a bunch of images and it thumbnails them and saves them to the server. Is it better to create thumbnails from the uploaded images, or to upload them to the server then re-download the thumbnails?

View 1 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 :: 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

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

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

ActionScript 2.0 :: Swapping - Play The Client Side Mp3 First Then Only Play Server Side Sound Object Alternately

Aug 9, 2004

I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:

[Code].....

View 2 Replies

Media Server :: Streaming Server 4 - Server Side Playlist?

Jan 26, 2011

The $995.00 version is listed as not supporting server side playlists.  Is it possible to implement internet TV station like functionality using that version?  I would like to have a list of files to play out and have it so those connected are all viewing the same thing.

View 1 Replies

Flash :: Implement Server Side Playlists?

Jun 22, 2010

We're thinking about purchasing the Flash Media Streaming Server Edition and we have some doubts after looking this edition comparision: [URL]..

1.- It says  the streaming edition doesn't have server side play list. Does it mean this version doesn't come with a native application for making playlist on the server side? Could I write an AS application (As I've done with developer edition) to implement server side playlists??

2.- How about the clustering? Could we install an instance of  FMS in several servers to make them work as a cluster?

View 10 Replies

Flash :: Create Images On Fly At Server Side?

Jan 15, 2010

I have seen in web apps we get flash images generated on the fly how is it achieved? Any api for programming languages (Java Python)?

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

Access Server-side Files In Flash?

Jun 5, 2010

I'm still a newbie at flash, but is it possible to have Flash get files from the server it is currently on, and then send those files somewhere?

View 1 Replies

Way To Post An Image To Server Side With Flash?

Jul 2, 2010

I saw this post and don't understand why it's so struggling to post an image to server side with flash, or is it just the poster didn't do it in a proper manner ?So far my progress is:

var ba:ByteArray = (new PNGEncoder()).encode(vidBmpHolder);
var request : URLRequest = new URLRequest("http://localhost:3000/doodles");
request.method = URLRequestMethod.POST;

[code]......

View 3 Replies

Php :: Why Is The Bitmapdata Not Posted To Server Side With Flash

Jul 3, 2010

Here is the code I used to post the bitmapdata to server side(PHP):

private function savePicToServer(bmpData:BitmapData):void
{
trace("in savePicToServer");
trace(bmpData);

[code].....

Finally the trace output is :

in savePicToServer
[object BitmapData]
finish savePicToServer

View 1 Replies

Flash - Have A XMLSocket On The Server Side For AIR ServerSocket?

Jun 28, 2011

I have two software to create with AIR: a server and a client. Both with AS3 and AIR.I want to avoid having a big architecture with Remote Shared Object, or using BlazeDS, or having to set a Java / Python / ... server in the middle.In order to avoid having to parse socket data in the server and in the client side, I thought about using XMLSocket on the client side: the data arrives in a way which is already parsed by the Flash framework.However, when I use this XMLSocket with the AIR ServerSocket, the "connect" event returns me a raw Socket on the server side. So I have to manually manage the XML data on the server side.

Is there a way to also use an XMLSocket on the server side to communicate with the client? A kind of trick to convert the returned Socket into an XMLSocket?If there is an AS3 library which manages that, I did not find it.

View 2 Replies

PHP :: How Reliable Is Server-Side Detection Of Flash

Jul 20, 2011

In answering a question on stack overflow, one person recommended using the following code to detect flash server-side, he pointed out that it does not work in safari:
if (strstr($_SERVER['HTTP_ACCEPT'], 'application/x-shockwave-flash')){
$hasFlash = true;}
Testing for Flash capability on the server-side. My question: why does it not work in safari, and how reliably does it work with other browsers?

View 2 Replies

Flash :: .net - Java Or Dot Net For Server Side Support?

Oct 6, 2011

We are building a Flash application for client use but will need to do server side processing of images. All our expertise and application code is in Java, but I've been told Dot Net has better Flash support. This is general but we will be modifying large (up to 50MB) image files. The idea is that what we could do in Flash should be duplicated, automated and extended on the server side.

View 2 Replies

AS3 :: Php - Render Flash (swf) To Video Server-side

Oct 9, 2011

I have a SWF timeline animation that grabs XML/images dynamically and then need to output/encode that as a video.

View 3 Replies

Flash :: FMS Server-side Code Not Executing?

Jan 12, 2012

I'm trying to create a RTMP Streaming application but I can't seem to get the server-side code to run. I've checked the logs on RootInstaller/logs/test, but nothing inside it. I am running everything locally also.Here's what I have:

ActionScript3 file

public function btnConnectHandler(event:MouseEvent):void
{
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);[code].....

View 1 Replies







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