amf

WebOrb.net / Alternatives

Hello All, 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 turning out to be very problematic for some reasons. WebOrb client SDK is no...

Flex Null Integer

Hi; I take data from Java to Flex by AMF (BlazeDS) In java side object has Integer field. So it can be null. In Flex side object is int. So null values are deserialized as 0. This is not what I want, I want to see whether it is 0 or null. Is there wrapper like (Integer in Java) for Flex? Thanks ...

rendering specific fields with Rails

Hi, If I have an object say @user and I want to render only certain fields in it say first_name and last_name(I'm using AMF) render :amf => @user For instance I have a property for @user which is 'dob' (date of birth) I would like to use it inside the controller business logic but I don't want to send it to the client (in this cas...

Is there a way to simulate a remote AMF call with WCAT?

I managed to use WCAT to test an url for an aspx page getting an asset. Now I would like to use it to test a remote call to WebORB from Flex. Problem is I don't know what to put in RequestData, RequestHeader, ... If I look with Charles (HTTP Monitor), then it's impossible to copy paste the request data (it has squares and all kind of we...

What AMF Servers Support Remote Shared Objects?

Greetings. I'm planning on building a Flex based multiplayer game, and I'm researching what will be required for the server end. I have PHP experience, so I started looking at ZendAMF. Now in this game, I'll need the concept of rooms, and real time updates to clients in those rooms, so it looks like I'll be using remote shared objects ...

[C#] 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, works fine. The server has to deserialize AMF incoming objects do some logic ( like saving th...

[AS3/C#] Byte encryption ( DES-CBC zero pad )

Hi there, Currently writing my own AMF TcpSocketServer. Everything works good so far i can send and recieve objects and i use some serialization/deserialization code. Now i started working on the encryption code and i am not so familiar with this stuff. I work with bytes , is DES-CBC a good way to encrypt this stuff? Or are there othe...

MAMP: How to add AMF PHP extension?

Hi, How can I add a PHP extension called "AMF" to my MAMP setup in Mac OSX? Thanks in advance :) Cheers, Mark ...

Flex: Unexpected leakage with RemoteObject + IExternalizable?

I've been tinkering with IExternalizable, but I've noticed some unexpected behavior. I've got this class: public function readExternal(input:IDataInput):void { input.readObject(); input.readObject(); input.readObject(); } public function writeExternal(output:IDataOutput):void { output.writeObject("first string"); ou...

Flex: Configure AMF serialization warnings?

I have been trying to test my application to make sure that all the important classes can serialize/reload themselves properly (especially those which implement IExternalizable): [Test] public function testMyObjectSerialization():void { var myobj:MyObject = new MyObject(); var ba:ByteArray = new ByteArray(); ba.writeObject(m...

Flex remoting and progress events?

Is there a way to monitor the loading progress (percent progress bar style) when using Flex remoting? I'm trying out Flash Builder 4 with it's new data services features, but I can't find any pgrogress event stuff somewhere. This article by Robert Taylor http://www.roboncode.com/articles/144 indicates that it might not be possible... ...

Decode amf3 object using PHP

My flash code: var request=new URLRequest('http://localhost/test.php'); request.method = URLRequestMethod.POST; var data = new URLVariables(); var bytes:ByteArray = new ByteArray(); bytes.objectEncoding = ObjectEncoding.AMF3; //write an object into the bytearray bytes.writeObject( { myString:"Hello World"} ); data.data = bytes; ...

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 returns a API.Foo.Result< API.Foo.Bar > what name do I use for my RemoteClass alias? Do ...

Flash/Flex: Is it possible to encode Dictionary using AMF?

As the title suggests, is it possible to use AMF to encode/decode Dictionaries (without subclassing, that is)? For example, here's a test case: function serializeAndReload(obj:*):* { var serialized:ByteArray = new ByteArray(); serialized.writeObject(obj); serialized.position = 0; return serialized.readObject(); } funct...

Receiving generic typed <T> custom objects through remote object in Flex

Is it possible to receive custom generic typed objects through AMF? I'm trying to integrate a flex app with an existing C# service but flex is choking on custom generic typed objects. As far as I can tell Flex doesn't even support generics, but I'd like to be able to even just read in the object and cast its members as necessary. I basic...

In Adobe Air, how do I pull an image from a sqlite database that was created with .net?

We have the need to create a sqlite database that contains images. The database is created using .net. After the db is created we need to use an air application to pull the images from the sqlite db created with c#. The database is created fine and Air can read all but the BLOB field which contains a bytearray created from an image in .n...

AMF through a BinarySocket written in .net

Hi All, I have a windows service behaving as a Binary Socket sending data to flex applications. Once I try to send strings or int's or any other native data-type, everything is working great. I even succeeded in sending JSon from the server to the client parsing it on Flex. I want to send AMF objects to the client. Meaning, I have a ...

AMFPHP AMF0 and AMF3

What are the difference between them? ...

Serializing to/from Adobe AMF in C#/Mono?

Using Zend_Amf it's possible to serialize php objects to/from Adobe AMF format. Is there an equivalent library for serializing/unserializing C# objects to/from AMF? I'm working in Mono 2.4. ...

Any Ruby AMF clients out there?

Hi, I'm looking for a way to push/receive AMF0 / AMF3 messages in Ruby(Rails). From what I read rubyAMF can only act as a server. What I need is a library that allows client access to FMS/Wowza.Any ideas? ...