Actionscript 3 :: Is AMF3 Protocol Is Good For Flash / Flex Client Server Development

Jul 11, 2010

I need to develop client server application that involve gaming. I have no experience in flash and I was reading about the AMF3 protocol that is compact and fast, is it better than xml/json for data exchange? Also I need it to be on port 80.

View 2 Replies


Similar Posts:


Actionscript 3 :: Understand If A Message Is Successfully Sent To Target Server In Client Using TCP Protocol

Jan 17, 2012

Using TCP protocol. Client is Flash. Server is Java (on Linux). Is there anyway to understand if a message is successfully sent to target server in client (Actionscript 3) ?

View 1 Replies

Flash :: Flex - Books Regarding Media Server Development

Aug 27, 2010

What is the best book out there reagrding Flash Media Server development using flex 4/ Action script. There are many books or resources out there on Flex and action script but nothing specialized on Flash Media Server.

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 :: Handle Client And Server Validation With Flex 3?

May 5, 2011

I'm a new grad, so please be kind. I'm working on validating input in a Flex DataGrid cell that the user can edit. The rows in the DataGrid are backed by an mx.collections.ArrayCollection that includes a [Bindable]Model that I wrote. I want to validate against a custom client-side Validator, if-and-only-if that passes I want to validate the input on the server. If client-side validation fails, I want to display the normal validation error (see image below). If server-side validation fails, I want to use the same sort of UI components to notify the user. The solution should not include any external framework (Cairngorm or PureMVC).

[Code]...

How do Flex programmers validate on the server, immediately after the valid client-side validation passes?

I realize it seems silly to search out this "synchronous" design and I hope someone has an answer to solve my problem with best practices. In my defense, the reason I want to validate on the server immediately following client-side validation is so that I'm using Flex's validation framework. If I get an invalid response from the server, I want to leverage the built-in UI components that Flex has to tell the user something is incorrect about his/her input.

View 3 Replies

Flash :: Media Server - Send Video And Audio Data To A Media Server By Using RTMP Protocol

Jul 22, 2010

I'm trying to make a software which sends video and audio data to a flash media server by using RTMP protocol. Currently, my program can communicate with a flash media server correctly. RTMP specifications does not describe about the raw data in video/audio messages, so I muxed raw H.264 and AAC data into video/audio messages and sent to the server. The server seems to accept them, but a video player cannot playback the stream sending from the server. The player just says "Loading..." For a test purpose, I sniffed the network packets between Wirecast and the flash media server and ripped off only video and audio data. Then, I muxed those data into video/audio message and sent to the flash media server. In this case, the video player connected to the server can playback the stream correctly.

I checked the stream sent from Wirecast, the stream seems not to be H.264 raw data because those data are not started from 0x17 instead of H.264 start code. With those situation, I am wondering what kind of container format I should use for H.264/AAC data to the flash media server.

View 12 Replies

Flex :: Send Info Using USLStream From Flash Client To JAVA Server?

Jul 18, 2010

I am trying to send info using USLStream from flash client to JAVA server.Some of the info is Chinese so i have to use Unicode.

View 1 Replies

Java :: Flex - Flash Client To Talk To A Server Through A Full-duplex Connection?

Sep 16, 2010

My client is in Flash/Flex (game with chat) and it will be talking to a Java server. What is the best way (protocol / interface) for my Flash client to talk to my server? I heard about Flash Remoting MX, but it is a request / response mechanism. I could always request something and wait for asynchronous notifications from server. Then request again, implementing something like a Comet server.Anyways, what is the industry standard for this type of communication: Flash Client talking to Java server, supporting asynchronous "push" notifications from server.

View 4 Replies

Java :: Client-side Framework For Web-app With Good Audio Support?

Mar 26, 2010

I'm trying to create a client-side web app that generates music procedurally using some user-input parameters, so I'm looking for a framework (e.g. Flash, Silverlight etc.) that has the capability to play audio at a specified pitch. Whether it is playing a WAV/MP3 file, using MIDI output, or just playing beeps doesn't really matter -- I just need something that will enable me to generate arbitrary music client-side.

I've done a bit of searching and it appears that Flash might have the ability to change pitch with the help of a third-part plugin, but I couldn't find anything similar for Silverlight.

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

Flex :: Use Dto's To Transfer Data Between Server And Client?

Oct 28, 2009

I've read some books on creating stateless websites, I've read some about stateful client applications, but a lot of complexity comes along when you have to combine both. We have a Flex application that needs to persist data to a database via .NET services. Things to keep in mind are:

- Concurrency (optimistic/pessimistic)

- Performance: Flex needs to load in lots of data so lazy-loading is often necessary.

- Do you use Dto's to transfer data between server and client?

I'll tell you the history of our product. We've used SubSonic from the beginning as a o/r mapper. SubSonic objects are converted to dto's written by us and these dto's are transferred to the client. Clientside the dto's are converted to the domain model. If clientside a domain model object needs to be saved, it is converted back to a dto and send to the server. Server side the dto is converted to a subsonic object and saved to the database.

Now, some time ago, we needed the domain model on the .NET server side... so now we have like three models on the server side, the subsonic model, the dto model and the domain model. The dto model is more simple and resembles the database more, the domain model has much more logic. It gets complex... We now have to synchronize the AS3 domain model code with the C# domain model code. If we could do it again (of get time to refactor) I think we wouldn't use the dto's anymore, but transfer the domain model between client and server. Dto's are simple objects so easy to transfer. Domain model objects can be very complex.

View 2 Replies

Flex :: Client / Server Messaging (RPC Or Socket)

Apr 9, 2010

I'm building a Flex application, which is going to perform many server requests (let's say, that almost all interactions require an update from server). At the moment I'm using remote procedure calls for it. But I was wondering if using a socket would be better. In other terms, is maybe better to keep the connection alive rather then performing many calls in sequence? For my demo app I only have 1 client. Is the number of clients connecting to the server a factor for this choice?

View 1 Replies

Flex :: Blazeds - Disconnect Client From Server?

Jun 15, 2010

I am using BlazeDS. Does anybody know how to disconnect client from server? Client must be informed about this event.

View 1 Replies

Media Server :: HTML 5 And Use Of HTTP Protocol

May 23, 2011

In our company we upgraded to fms 4 and installed the apache that comes bundle up with the installation. We had it configure and now we can play videos in html 5 by using the http protocol. The question I have is, can we use https protocol instead of rtmps? I've been doing a lot of research and I found documentation that says to put a minus sign in front of port 443 (-443) in the fms.ini file in the ADAPTOR.HOSTPORT line but it also says that with this configuration port 443 will only receive rtmps connections. My next step is to put the minus sign in front of the port number and restart the server and just try to establish connection using https to see if i works.

View 1 Replies

Media Server :: Progress Bar For RTMP Protocol?

Jan 27, 2012

Anyone know about progress bar in rtmp i m making player using rtmp protocol because it allow to seek in any position even if the video data is not cache but i did not solve this issue how to display progress bar data is loaded i can do this in http protocol using Netstream.bytesLoaded and Netstream.bytesTotal i know rtmp is streaming video but i just want to know the when we pause in youtube u can see bufferlength in light gray which indicate this much of video cache i want to does they rtmp protocol or something else.

View 3 Replies

Flash :: Flex: Find Out If An Object Is In A Page Using SSL/TLS [https Protocol]

Feb 8, 2012

what's the best and shortest way to get this information?

i've read about BrowserInvokeEvent which contains a boolean of the sort - [URL]

yet i havn't been able to implement it.

View 1 Replies

Media Server :: Development Server Be Installed On A Remote Server?

Oct 14, 2010

The instructions for installation only cover installation on "localhost".  I'm wondering if I could use the development server for a small scale website depolyment with restricted traffic, from a commercial server, such as goDaddy?And if so, what''s the method?  Do I download the package from Adobe to my local hard drive and install over the network, or copy the package to the server and install it online?

View 1 Replies

Flex :: Create A Web Server For Asynchronous Request From A Air Client?

Dec 21, 2009

I have created a client with Flex Builder which works in a browser but also in an Air windowed application. I must connect it to a server and it has to do asynchronous request related to changing data of the server.Because of the too much expensive cost of LiveCycleDS license, I was looking for other ways, maybe open source and i found the following solutions:

Adobe BlazeDS
Granite Data Services
WebORB Community Edition

I want to ask you which is the easy way to create the solution described above, expecially i want to use J2EE application server type.

View 1 Replies

Flex Client App Connect To BlazeDS Running On A Different Server?

Feb 9, 2010

As far as In understand the Flex technology, a Flex client connects to a Flex server to retrieve business information. Is this the only allowed connection for the client, back to the originating server? Or can a Flex client also open a secondary connection to a different server wich runs BlazeDS for message exchange?(This might offer an option for load balancing and cross-platform development).

Update: I have found this page which links to the Cross-domain policy file specification:[URL]..

View 2 Replies

XML :: Flex - Read File From Client And Parse To Server

Feb 14, 2010

I'm trying to read a xml file from client. After search for it. I have got to upload the file to the server with this code.
var imagesFilter:FileFilter = new FileFilter("*.jpg,*.gif,*.png", "*.jpg;*.gif;*.png;*.jpeg");
fileRef.browse([imagesFilter]);
But what I want to do is to read the file from client and parse it without uploading it to the server.

View 4 Replies

Media Server :: Connection Stop With Rtmpt Protocol

Jun 30, 2010

I am publishing my live stream with rtmpt protocol on port 80,to overcome network proxy.
But after 10 to 15 minutes (telecast) video get stuck and connection get lost.But i don't
have this problem when i use rtmp protocol with port 1935.

View 1 Replies

Web Development :: Monitor Traffic Between A Flash Object And A Server?

Jan 25, 2012

Here's what I want to ho: In firebug, there's a Net tab, where you can see all requests, which javascript is making to the server.I would like to be able to do the same with a flash object.What is the best way of doing this?

View 1 Replies

Java - Connecting Non-flex Client To Server Running BlazeDS?

Aug 27, 2010

I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient.

Currently I have some blazeDS remote objects to handle login/logout with a few RPC calls. In turn, FlexSession objects are created and handled. Is there a way to use httpclient and javascript to call those blazeds RPCs so I dont have to recode and have 3 different means to handle logins and sessions?

View 1 Replies

Php :: Show Directory Tree Of Server (PHP) At Client Side Using FLEX?

Nov 16, 2010

Using RecursiveDirectoryIterator of PHP i am able to create directory tree and can even flatten it using RecursiveIteratorIterator class , but I want to create directory tree structure which TREE component of flex understands . The following is an array structure in php which flex understands.

array('label'=>'rootDirectory','children'=>array(array('label'=>'subFolder1','children'=>array(array('label'=>'file.jpg'))),array('label'=>'EmtptyFolder','children'=>array())));

create the whole directory structure at server side into the above array format.

View 1 Replies

Media Server :: When Using RTMFP Protocol FMS Doesn't Operate In Channels

Nov 26, 2010

I'm developing an online meeting system with audio/video sharing, using Adobe Flex 4 and Flash Media Server 4. I'm using the RTMFP protocol to make the transmission of audio/video which increases considerably the performance. The trouble now is that i must record the audio/video transmitted, but i figured out that when using the RTMFP protocol the FMS doesn't operate in the channels. So, how could i make FMS record this channels?

View 1 Replies

Media Server :: Publish Live Stream To FMS On HTTP Protocol?

Mar 26, 2012

I want to use customised encoder to publish live steams to a FMS4.5 server?Is it possible to connect encoder and FMS4.5 server on HTTP protocol?i read in other articles FMLE can connect to FMS on RTMP protocol.

View 4 Replies

Flash :: Media Server - Live Encoder - Plugin Development

Sep 3, 2009

Allright, so i'm searching for information on how to write plugins for FMLE 3.0, the reason is that i need to extend some functionality regarding the metadata injections. So, does anyone here know of an API/Framework/SDK like paper that is a good place to start reading? Any input will be welcome, except "nay sayers" because i know it's possible to make plugins, ive seen one or two out there, just dont know where to start.

PS. I have plenty experience in writing DLL's for windows applications, but i would rather refrain from reverse-engineering FMLE to use windows hooks and insert dll's at run/loadtime, would rather have a more or less "intentional" framework to work with.

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

Java :: Build The Client With Flex And Connect To The Server Data With BlazeDS?

Dec 20, 2010

I have a server with some simple java objects running. I want to build the client with Flex and connect to the server data with BlazeDS. The problem is the Flash Builder is not generating the Classes correctly. Just the properties are being generated, the inheritance are not being generates.

View 1 Replies







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