amf

Returning from Flex/ActionScript 3 Responder objects

I need to return the value from my Responder object. Right now, I have: private function pro():int { gateway.connect('http://10.0.2.2:5000/gateway'); var id:int = 0; function ret_pr(result:*):int { return result } var responder:Responder = new Responder(ret_pr); gateway.call('sx.xj', responder); return...

How can I use TurboGears2 auth with PyAMF?

I'm using TurboGears with PyAMF behind a Flex client, and everything works well. What I want to do is expose just a AMF login method to the world, and only allow access to other AMF functions once the user has logged in. Also, once the user is known, I'd like the protected AMF methods to get the username from the auth information, ...

What are the pros/cons of using AMF vs. serializing data between Flash and a web script/service?

I was using the serializing approach between Flash and PHP for the longest time before AMFPHP had its 1.0 release (wow...that was a long time ago...in 2006)! Serializing using a sepiroth's AS library paired with PHP's built in serializing functions worked and I didn't change it because it did the job. Should I switch over to the AMF fo...

Parsing X-amf mime type data

I have intercepted x-amf data being posted to a website from my computer by a flash application. I have the collected POST data in hex form. While some of it has translated directly to text, the rest is showing wierd symbols which probably means they're flash objects. How do I parse this data to get meaningful output outta it? Basically...

amfPHP Function Input Trouble

Hello, I'm writing an amfPHP function which should take string input. It takes alphanumeric characters without a problem, but unfortunately it returns data as "2" if I send "2.UgnFl4kAWovazp_tVo6fHg__.86400.1260025200-571701419" as parameter. here is the function (real simple as you can see) function checkOpenSession($guid, $session_k...

How can I run the AMFPHP browser to test remote services?

I have some AMFPHP services installed on a server that I don't control. I'd like to do some manual test calls of these services and check what results I get back, but since I can't install the AMFPHP browser I'm at a bit of a loss. Is there a desktop (Mac OS) client for AMF services? Can I configure a local AMFPHP browser to run agains...

Can anyone point me to a AMF library in either Delphi or FreePascal?

I've done a simple search on the usual suspects(Google Code, Source Forge, SO) but did not find any hints of a project for AMF or Flash/Flex remoting. Has anyone stumbled on a project of this nature? ...

How does Flex 3 datagrid paging work?

How does paging work, must Flex load in all the database records to determine how many pages to generate? Let's say I have a table with 10,000+ records and want to split it into pages of 10 records per page into a datagrid component. Does Flex load in the complete 10,000+ records, or just some of them? I would like to use PHP and AMF ...

Is there a self contained library for serializing PHP data to AMF?

My team has been asked to offer AMF output from our web service to decrease the time spent parsing XML or JSON for Flash modules on the front end. As we have an existing application architecture that we must continue to support in terms of request structure etc, I am not interested in using one of the preexisting AMF RPC frameworks (eg:...

Service Browser for AMF calls (Flex to Java)

Has anyone used or is aware of a service browser to test AMF calls? I am looking for a tool similar to ZamfBrowser ( http://www.zamfbrowser.org ), but one that works for the Java environment. ZamfBrowser is geared towards AMFPHP. The idea here is to provide a service browser, that allows developers to test Java services using the AMF ...

"Forging" (= mocking) an AMFPHP remoting request

I am using AMFPHP with great success to link my database with my Flex application. However I want to be able to test the remoting requests outside of flash, by typing something like: http://localhost/amfphp/gateway.php?%5BWHAT DO I PUT HERE] What do I put after the questionmark in order to have the browser (or a C++ http component) ca...

How to set up PyAMF Django gateway so it uses AMF3?

How to set up PyAMF Django gateway so it uses AMF3 instead of the default AMF0? ...

AMF Channel without Livecycle, BlazeDS or similar

Is it possible to use an AMF Channel in a Flex HTTPService client application without using Adobe Livecycle, BlazeDs or similar in order to do real time asynchronous request from an HTTPService? ...

Zend AMF implementation and AMF protocol security

I have a Flex frontend connecting via RemoteObject to Zend Framework's Zend Amf. This is my only means to transport data between client layer (Flex) and the application and persistence layers (LAMP with Zend Framework). Some ways I can address security are as follows: I can address TLS by using mx.messaging.channels.SecureAMFChannel in...

AMFPHP: Serializing Flash Objects over HTTP without the gateway

Flash + AMFPHP is a great combination. But there are cases, when Flash Remoting with NetConnection isn't the right tool, for various reasons. Rob had a great post on this some time ago: http://www.roboncode.com/articles/144 He also has a nice example on how to deliver AMF to a http request, without the POST and AMF-request package to ca...

How to encode (serialize) and decode (deserialize) AMF packets?

Hi, At the moment it seems I've tried every trick in the book trying to get this to work. I need some way of encoding AMF requests and then decoding the responses. At this point I don't care what language it's in, as long as it's doable and free (as in to me), however I would prefer PHP. I don't know what other information is needed, b...

How do integrate SabreAMF with PHP

Any help on this? Examples from project site are not working.. ...

ATG & Flex via AMF?

How easy might it be to build a front end with flex, and have ATG as the backend and do all communication / integration via AMF, using BlazeDS or Live Cycle Data Services? Thanks! ...

What does the error Client.Data.UnderFlow mean in an AMF transaction?

During RubyAMF and AS3 interaction, I keep getting the error "Client.Data.UnderFlow" in a NetStatusEvent.NET_STATUS on the AS3 side. On the Ruby side I get "ActiveRecord::RecordNotFound (Couldn't find {type} without an ID)", where {type} is the defined type that I'm looking up. A google search suggests that this issue seems to have com...

Limiting pyamf flex sessions or setting a timeout

How do I limit my amf sessions to flex over pyamf? I have set up a pyamf gateway to that serves value objects that originate from a django admin panel, through sqlalchemy to my authenticated flex client. It's working great, however there is a problem. My sessions are persisting and clogging up the server, so after about 20 or so AMF ses...