Questions tagged [amf]

Action Message Format (AMF) is a binary format used to serialize ActionScript objects. It is used primarily to exchange data between an Adobe Flash application and a remote service, usually over the internet.

Action Message Format (AMF) is a binary format used to serialize ActionScript objects. It is used primarily to exchange data between an Adobe Flash application and a remote service, usually over the internet.

Typical usage from Adobe Flash Player, consists of an ActionScript program which:

  1. Connects to a specific "gateway" URL on a web server
  2. Accesses the service which handles AMF communication
  3. Calls a method on the service, mentioning a "callback" method
  4. Arguments passed are serialized to AMF and deserialized at the receiving end
  5. The service processes the input, and optionally returns data via AMF
  6. The callback method is invoked by the platform, and returned data is passed

http://en.wikipedia.org/wiki/Action_Message_Format

296 questions
3
votes
2 answers

Migration from Flex 3 to Flex 4.5: problem with network format

I'm currently migrating a large project from Flex 3 to Flex 4.5. The problem I'm stuck on is network communication: we're using a custom protocol that we embed in AMF3, but it seems the messages sent by flash.net.NetConnection aren't readable. Our…
3
votes
2 answers

How to disable CORS on Chrome when using visual studio code and using AMF on Apache Royale

As now my interest goes using Remote Object with Apache Royale to communicate with my server with Amfphp, I struggle with CORS. My first attempt to use SimpleRemoteObject was an error like this : Access to XMLHttpRequest at…
Fred
  • 399
  • 3
  • 12
3
votes
1 answer

AMF as a REST format, using BlazeDS and AS3's URLLoader

I have a ColdFusion server with an HTTP API that's currently returning either JSON or XML formatted responses. Internally, all of these responses are represented using the ColdFusion 'struct' type, and then converted to the appropriate format before…
Joe
  • 800
  • 4
  • 15
3
votes
2 answers

Problem passing data from Javascript to Flex

I am using ExternalInterface in Flex to retrieve AMF encoded string from Javascript. The problem is the AMF encoded string sometimes contains \u0000 which causes the ExternalInterface to return null instead of the encoded string from Javascript. Any…
doorman
  • 15,707
  • 22
  • 80
  • 145
3
votes
3 answers

Zend AMF Optimisation; Tips and Tricks?

I am working on a project that uses PHP to create an 'complex' object with lots of references to other objects linking back to their parent objects etc... The object structure is then serialized by the Zend AMF module and sent over to the flex…
Goldfrapper
  • 100
  • 5
3
votes
2 answers

Open source testing app for Flex app using AMF and BlazeDS

I am looking for an open source tool that measures response time as well as provide result status of a Flex application using AMF and BlazeDS. I am not very familiar with Flex technologies, but would like to capture this information from a calling…
lisa
  • 31
  • 1
3
votes
1 answer

How to parse AMF data in Ruby?

So I see that there are a few Rails plugins for serving AMF. However, is there a library that I can use in a Ruby environment to act as an AMF client: to read AMF data, and deserialize it into a Ruby object? If not, how could I best go about using…
Matchu
  • 83,922
  • 18
  • 153
  • 160
3
votes
1 answer

Using Mate's RemoteObjectInvoker with C# classes

I'm using the Mate framework for Flex and communicating with a server running C#. I'm having trouble mapping C# classes to ActopnScript classes. I've got it working fine for simple classes and built in datatypes. If I have a C# method in my API that…
Roland Rabien
  • 8,750
  • 7
  • 50
  • 67
3
votes
4 answers

Async threaded tcp server

I want to create a high performance server in C# which could take about ~10k clients. Now i started writing a TcpServer with C# and for each client-connection i open a new thread. I also use one thread to accept the connections. So far so good,…
mark_dj
  • 984
  • 11
  • 29
3
votes
1 answer

How do I debug AMF performance issues in actionscript

Questions: How do I get progress information to debug how long data takes to come over the wire when using a RemoteObject to load data from BlazeDS How do investigate and speed up AMF message deserialization Background: In my app we are loading…
Roaders
  • 4,373
  • 8
  • 50
  • 71
3
votes
1 answer

Grails Servlet Filter Madness: ...ServletRequestAttributes cannot be cast to..GrailsWebRequest

I have a Grails backend with a Flex Single Page Application acting as the UI. For some reason, when I make an AMF request, my app conks out. with the following error (parts truncated for readability) 2014-04-20 21:07:55,572 [http-bio-8080-exec-6]…
Black Dynamite
  • 4,067
  • 5
  • 40
  • 75
3
votes
1 answer

Deserialize amf binary format using amf3input in java

I am trying to deserialize amf binary format using flex.messaging.io.amf.Amf3Input in java. but did not find the flow of deserialization. Can any help me by giving steps or code snippet? I tried with bellow code.....but readObject() returns…
Prak
  • 815
  • 7
  • 18
3
votes
1 answer

Client.Error.MessageSend - Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url:

I am a beginner in Flex. I was trying out a Flex-Spring-Hibernate-Java project, which would fetch the records from database and show it in a grid. But, when I try to open my application, I get the following error : ?[RPC Fault faultString="Send…
Saurabh Gokhale
  • 53,625
  • 36
  • 139
  • 164
3
votes
0 answers

Create RTMP connection using socket programming

I need to create RTMP client using java socket programming. I read this documents and 1 . I have performed handshaking successfully through java socket programming. Now next step is to send 'connect' command to the server. I am creating RTMP…
Sukhpal Singh
  • 672
  • 1
  • 12
  • 31
3
votes
3 answers

Is AMF only for Flash?

I am new to AMF and I learned that AMF is supposedly very fast. I was wondering if I should use it for all my web services. Is it still fast without flash VM?
Alex L
  • 8,419
  • 6
  • 43
  • 51
1 2
3
19 20