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
4
votes
3 answers

AS3 unable to decode AMF3 object from socket sent by Java

I have a java socket server that sends an Animal object to the Flash client when it connects. The object is sent like this: Amf3Output amf3Output = new…
Rob Fox
  • 5,355
  • 7
  • 37
  • 63
4
votes
4 answers

Trouble serializing vectors in a sub-class in AS3

Hey there! I'm trying to serialize data in AS3 but am running into a frustrating problem. Originally I had problems with "myObjClass" not being convertible, but after I discovered "registerClassAlias" I got things working allright. Some time later,…
Andy Moore
  • 865
  • 3
  • 16
  • 36
4
votes
2 answers

How can I load the AIR runtime as a in-process shared library from a C program

I'd like to build a special AIR launcher program in C along the lines of java.exe. I've looked at running AIR programs with a process viewer and was able to locate the AIR runtime DLL that is being used. AIR programs are different than Java in that…
RogerV
  • 3,826
  • 4
  • 28
  • 32
4
votes
3 answers

How to make BlazeDS ignore properties?

I have a java class which has one field with getter and setter, and a second pair of getter and setter that access this field in another way: public class NullAbleId { private static final int NULL_ID = -1; private int internalId; getter &…
Ralph
  • 118,862
  • 56
  • 287
  • 383
4
votes
3 answers

Custom Array Serialization on Flex client

I was wondering if it is possible to do custom serialization of Arrays/ArrayCollections in as3 via amf. To be more specific, i want to be able to pool objects on the client so that im not instantiating new objects every time i make a RemoteObject…
HorseFace
  • 385
  • 3
  • 12
4
votes
3 answers

How can I call an AMF service using Flex and get back an MP3?

My flex 3.5 application has an audio player whose content is accessed by calling an AMF service to get the mp3 data. As far as I can tell, flash.media.Sound is initialized with a URLRequest, so it's not clear to me how I can provide it with data…
Chris R
  • 17,546
  • 23
  • 105
  • 172
4
votes
3 answers

WebOrb.net / Alternatives

I'm working on an online forex trading system and a while back we have decided to use weborb for .net. The decision was made mainly because we already have a pretty solid .net backbone that was built for the current HTML website. This decision is…
KensoDev
  • 3,285
  • 21
  • 38
4
votes
1 answer

Unsupported AMF version

I have encountered the following exception: [BlazeDS] Unsupported AMF version 4,660. flex.messaging.MessageException: Unsupported AMF version 4,660. at flex.messaging.io.amf.AmfMessageDeserializer.readMessage(AmfMessageDeserializer.java:93) at…
4
votes
2 answers

How does AMF communication work?

How does Flash communicate with services / scripts on servers via AMF? Regarding the AMF libraries for Python / Perl / PHP which are easier to develop than .NET / Java: do they execute script files, whenever Flash sends an Remote Procedure Call? or…
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
4
votes
6 answers

What could cause a failure in PHP serialize function?

I have some serverside PHP code that attempts persist a data object (essentially an multi-dimensional array) to a backend database. This data object originally comes in as AMF actionscript object sent from a flex application. I want persist the…
Gordon Potter
  • 5,802
  • 9
  • 42
  • 60
4
votes
1 answer

flex : Random NetConnection.Call.Failed: HTTP: Failed

We are experiencing some random NetConnection.Call.Failed: HTTP: Failed when using the flex 4 mx.messaging.channels::SecureAMFChannel We have never had this problem in our local servers (server/client on the same machine), but when we went live,…
Majid Laissi
  • 19,188
  • 19
  • 68
  • 105
3
votes
2 answers

AMF and AMF3 Specification

I am currently working on a small AMF3 Adapter and therefore trying to implement the AMF3 protocol. Unfortunately the specifications available seem to greatly differ from reality (Captre of AMF communication with BlazeDS and look into BlazeDSs…
Christofer Dutz
  • 2,305
  • 1
  • 23
  • 34
3
votes
3 answers

Return a serialized AMF object in a control action in ASP.net MVC

Is it possible to return a serialized AMF object in a control action in ASP.net MVC? Has anyone tried this before?
BruNeX
  • 31
  • 3
3
votes
2 answers

Reverse Engineering AMF

I was asked to crawl a flash website, which appears to be utilizing some kind of server-side call through the AMF protocol. I am completely unfamiliar with this protocol, but found this library (http://www.pyamf.org/index.html). I can view the…
Kevin Dolan
  • 4,952
  • 3
  • 35
  • 47
3
votes
5 answers

Can AMF be used as "just another output format" from a web service?

I'm working on a RESTish server project that responds to HTTP requests in a variety of formats. This allows us to write user facing applications and retrieve whichever format seems most convenient at the time. For example, to see if there is a user…
Todd R
  • 18,236
  • 8
  • 31
  • 39
1
2
3
19 20