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
15
votes
5 answers

UDP real-time games in Flash/Flex available Open source RTMFP implementation

Are there any examples of using the Flash 10 beta RTMFP UDP based protocol to build real-time Flash games. The RTMFP examples so far seem to focus on P2P networking between flash clients does anyone know of any examples of traditional client/server…
Dougnukem
  • 14,709
  • 24
  • 89
  • 130
13
votes
5 answers

AMF and Cross Site scripting vulnerabilty confusion

I just got hammered on a Security Audit by Deloitte on behalf of SFDC. Basically we use flex and communicate via AMF. We use FluorineFX for this (as opposed to LCDS and Blaze). We are being told that because the AMF response is not encoded and that…
Dean Skelton
  • 133
  • 1
  • 5
10
votes
6 answers

Switching to ColdFusion?

I am currently building an Adobe Air desktop app for a medium sized company and I truley believe that I could use this same app for many other 'like-companies'. It will greatly improve their efficiency and save them money; and hopefully make me some…
EliTheDawg
  • 1,157
  • 15
  • 36
7
votes
5 answers

How can I debug AMF (BlazeDS) serialization of Java objects to Actionscript?

I'm using BlazeDS to remote some Java objects that I'm consuming in a Flex application. I'm getting a type coercion error with one of my classes that I can't for the life of me figure out. I have other classes that are working fine using the same…
Boden
  • 4,149
  • 9
  • 43
  • 56
7
votes
6 answers

Sniffing traffic between a Flex app and ColdFusion backend

What is a good strategy for sniffing/tracing function calls between a Flex application and a ColdFusion-based backend running on ColdFusion server? I understand they use AMF protocol. I'm used to using Fiddler to sniff transactions between HTTP…
Brendan Kidwell
  • 876
  • 9
  • 15
7
votes
2 answers

Is it safe to use bytecode enhancement techniques on classes that might be serialized and why?

I haven't tried this yet, but it seems risky. The case I'm thinking of is instrumenting simple VO classes with JiBX. These VOs are going to be serialized over AMF and possibly other schemes. Can anyone confirm or deny my suspicions that doing…
gtrak
  • 5,598
  • 4
  • 32
  • 41
6
votes
2 answers

Looking for a good C++ library for parsing AMF3

What's a good C++ library for parsing AMF3?
Lenar
  • 298
  • 3
  • 8
6
votes
5 answers

Where to get Flex - Java DS (Blaze) training material?

I was wondering if any of you out there knows where I can get really good training material (videos, examples, etc) on Flex - Java Data Services (BlazeDS would be ideal) besides the ones offered directly by Adobe. I'm thinking on something like…
Chepech
  • 5,258
  • 4
  • 47
  • 70
5
votes
3 answers

Flash: AMF3 with reference tables?

AMF3 specification defines use of so called "reference tables" (see Section 2.2 of this specification). I implemented this behavior in my AMF3 encoder/decoder I developed in Erlang, but being not very experienced with Flash API, I can hardly find…
Yurii Rashkovskii
  • 1,122
  • 1
  • 10
  • 20
5
votes
3 answers

Read an AMF object with flex socket

I'm currently trying to communicate between java and flex by using sockets and AMF serialized objects. On the java side I use Amf3Input and Amf3Output from BlazeDS (flex-messaging-common.jar and flex-messaging-core.jar). The connection is correctly…
Sylvain
  • 71
  • 1
  • 7
5
votes
5 answers

use AMF instead of JSON on iPhone? (for web services)

Although iPhone support JSON natively, AMF is a binary protocol and it supposes to use much less bandwidth. Do you think using AMF is a good idea? Just found this AMF library in cocoa (Objective-C): http://github.com/nesium/cocoa-amf/ Here's the…
Henry
  • 32,689
  • 19
  • 120
  • 221
5
votes
3 answers

AMF message structure?

Adobe's documentation for the AMF format does not seem to actually specify the structure of an entire AMF message. It only specifies the format of individual data types. I've read the damn thing five times and either I'm just totally missing what…
dirtside
  • 8,144
  • 10
  • 42
  • 54
4
votes
1 answer

iPad application developed by Flash Builder hangs after loading external data

I'm developing iPad application in Flash Builder 4.6. My application stop working on device when I load data from amfphp gateway. There are about 30 value objects in server response. When server responses with fewer data - app works fine. So I guess…
Stan Reshetnyk
  • 1,986
  • 1
  • 13
  • 31
4
votes
2 answers

Using RemoteObject (AMF) from a Flash or Pure AS3 Project

I recently ported some code from a Flex project over to a new pure AS3 project. When i attempted to make an AMF call, I am getting an error message like this: TypeError: Error #1034: Type Coercion failed: cannot convert Object@5425371 to…
user963395
4
votes
4 answers

Get a ASP.NET (inc MVC) application talking to a Flex UI over AMF

How can I get a ASP.NET (inc MVC) application talking to a Flex UI over AMF. I am wanting to push approx 100+ records around at a time and AMF would appear to be the way forward, but there doesn't appear to be anything obvious.
Neil Middleton
  • 22,105
  • 18
  • 80
  • 134
1
2 3
19 20