amf

.NET and 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. ...

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 clients and servers, and it works great as long as you're using plain text or XML HTTP reques...

How does versioning work with Flex remote objects and AMF?

Suppose I use the [RemoteClass] tag to endow a custom Flex class with serialization intelligence. What happens when I need to change my object (add a new field, remove a field, rename a field, etc)? Is there a design pattern for handling this in an elegant way? ...

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 they are installed as platform-specific executables that bind the AIR runtime as an in-pr...

How to route AMF requests though one trusted server

We are planning to develop a Flex application that must make AMF calls to retrieve data from a secure server. However, we are not allowed to connect directly to that secure server with AMF. We can only make WSDL/SOAP or .net remoting calls to the secure server. Therefore, all instances of the flex application running on a client machi...

Sending ByteArray to Zend_Amf

I'm having problems sending a ByteArray over to my Zend_Amf_server. I get a NetConnection.Bad.Call back from the server. If I send a variable with another datatype then ByteArray it works fine. I used the same script before with AMFPHP witouth any problems. But for this project I really need this to work in Zend_Amf. AS3: var path:S...

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

Hi all, 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 David Tucker's blog ...

Sending AMF Object to Rails from Flex corrupts associated model

We are working on a project that uses Flex and rails with WebORB. Everything was fine and dandy until we started tying the frontend and backends together. We created a service for interacting with users and another for the session. SessionService.rb class SessionService def view_session session = RequestContext.get_session ...

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 how can I easily force Flash to use these reference tables when serializing objects to AMF...

Is there a better way to work with Flex Builder and the AMF Gateway?

I'm using Flex Builder 3 to connect to a bunch of back-end code via the AMF gateway. Another developer packaged up all the AMF Gateway code into a war file. Here's my development process: Deploy most recent AMF-gateway.war file into local jboss server War file gets unpacked into [jboss]/server/tmp/deploy/tmp23241AMF-gateway-exp.war/...

I want to let java application invoke a function in action script?

Dears, how can I let an SWF file to retrieve values immediately from Java application that does live calculations (Speed is a necessity). question in other form : how can I give my website browser immediate data - that are bean calculated now - as fast as i can ? ...

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 logged in, we can send: http://serverurl/Authentication?command=whoami&format=xml A...

Error on deserialization of Array Collection in Flex: RangeError: Error #2006

I am getting this error during serialization: RangeError: Error #2006: The supplied index is out of bounds. The error occurs in AbstractMessage.as when it attempts to read input of timestamp. After that my fault handler gets this error: faultCode:Server.Acknowledge.Failed faultString:'Didn't receive an acknowledge messa...

asp.net MVC

Hi, im wondering if is possible to return a serialized AMF object in a control action in ASP.net MVC anyone as tried this before? thanks in advance. ...

Remote Objects not working with Modules

We have some Modules which have their own remote objects configured in remoting-config.xml. Each is packaged and deployed as separate web archives (WAR). For ex. Module1.war, Module2.war. We are trying to integrate them in a flex application which is deployed in a separate web app. For ex. MainApp.war. The remote objects work fine wh...

I would like to download the Remote SharedObject from an FMS server through RTMP

I'd like to contact an FMS server through a script and download the persistent Remote SharedObject. The Flash program connects to the FMS server, opens a NetConnection, makes a SharedObject.getRemote call. I'd like to access this info through PHP, Ruby, Perl, etc to work with in a script. I understand this info is sent to the Flash pl...

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 data types, and I've gone over my mapping a dozen times. I'm following all of the necessa...

XAMPP and AMF?

Hi all, Is there any open source package along the lines of XAMPP that would give a developer support for AMF "out of the box" as it were? ...

Mapping PHP and Flex Objects.

I am using ZendAMF for remoting. <?php error_reporting(E_ALL | E_STRICT); //error reporting, not needed require_once "Zend/Amf/Server.php"; //the zendAMF server require_once "process.php"; //our test class $server = new Zend_Amf_Server(); //declare the server $server->setClass("process"); //load our test-class t...

Java LocalConnection Client

I'd like to connect a Flash Player instance (AMF3) to a Java LocalConnection. I know how to implement the AMF3 spec, since I've done a lot of work with Red5, but I'm unsure how to navigate building the actual LocalConnection interface. There is C code provided here, but I can't speak C to save my life. Does anyone know of a Java implemen...