amfphp

How to create HTML pages using AMFPHP (on server)

I have AMFPHP installed on my server. I have a flash app that can call it's methods. I want to create some HTML (on server created) pages which will contain HTML code and results of AMFPHP functions. How to create such thing? ...

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? ...

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

Problems with scalability of flex apps using XML as a data structure?

I'm currently developing the backend of a flex application using Zend_Amf_Server and the decision has been made to to move a lot of the textual assets from the db and into some xml config files. The application is being rolled out to a 10k+ intranet user base, so in my eyes, the less db interaction going on the better, however one of the...

How to use AMFPHP functions from .NET WPF application?

How to use AMFPHP functions from .NET WPF application? ...

Whats the simplest way to obscure or hide the paths being used in a PHP - AS3 project

I am working on a project that uses PHP , AS3, and AMFPHP . The project allows users to upload and download images among other things. Since I am fairly new to PHP/FLash security I have been trying to gather as much info about making things as secure as possible. I've got some good advise about using .htaccess files, and a few other tri...

amfphp multidimensional array

Hi, in my Flex App, I have a 2-dimensional Array, something like this: arr[0][0] = "11"; arr[0][1] = "12"; arr[1][0] = "21"; arr[1][1] = "22"; I'm sending this array to my webservice: amfWebService.doSomethingWithThatArray(arr); I'm checking the result of the function (which is as string) with an Alert. Now to my problem: PHP so...

AMFPHP Bad Version error when having multiple simultaneous calls to gateway.php

I'm currently using AMFPHP 1.9 to make a simple flash game which uses a game server. Sometimes, I get this error (BadVersion) when there are simultaneous calls to the server. I've searched the web for some of the answers to this problem, and it seems they were answered back in 2004. Is there an updated version of how to solve this pro...

flex 4, amfphp, modules - problem with parallel call server function

Hello, I have problem with parallel call (by RemoteObject calss) AMFPHP method. AMFPHP side: method_1 methot_2 Flex side: call method_1 call method_2 before method_1 send result Result/errors: in Flex log: Error "delivery in doubt". In PHP log: Fatal error: Cannot redeclare class AmfphpGateway in (my path)/AmfphpGateway.php on line 6 ...

Returning errors from AMFPHP on purpose.

When using flash remoting with amfphp, what can I write in php that will trigger the 'status' method that I set up in my Responder in Flash? Or more generally, how can I determine if the service call has failed? The ideal solution for me would be to throw some exception in php serverside, and catch that exception in flash clientside......

Service Browser for Zend AMF

Hi there ! I have some questions: Does Zend AMF has a service browser feature like AMFPHP does? Some people do mention about zamfbrowser, but at the time I'm posting this question, the site is still unavailable. Is there any possibility to use AMFPHP's service browser with Zend AMF? Thanks in advance! Regards, Andree. ...

Flex + PHP + ValueObjects

I have a php/flex value object that I am using to transmit data to/from in my application. Everything works great php->flex, but I am having an issue with flex->php. In my MergeTemplateService.php service I have the following code. This is the method that flex hits directly: function updateTemplate($valueObject){ $object = DAOFacto...

AMFPHP AMF0 and AMF3

What are the difference between them? ...

AMFPHP Database Sessions

I am using AMFPHP w/ a Flex application and am needing to start storing the user sessions in the database instead of the filesystem. I've tried utilizing the session save handler function but no matter what I do it still ends up storing the files on the filesystem. Any ideas? ...

Saving data from flash using amfphp!

I know how to get the data from my database, but i can't seem to figure out how to send data to the database from flash using amfphp!Please give me an as3 and php service example.Thanks a lot ! ...

AMFPHP with HTTPS?

I have not test AMFPHP with Https protocol and I couldn't find any info on running over the secure HTTP. I see secureAMFEndPoint can be enable in another script or part of AMFPHP code? Or any way to make the login work over HTTP*S* from HTTP*S*? I use this code import com.almerblank.utils.ServiceUtility; // Singleton public var amfp...

Unserialize in ActionScript 3

I have an array that I am constructing in PHP which I am serializing then returning to Flex through AMFPHP. Can someone point me towards a solution for unserilizing said data once it gets into Flex via ActionScript 3? ...

AMF call vs Javascript call to facebook

Hi, I have a flash application which would be on Facebook . I was wondering currently I have two options in front of me either make javascript calls which will make AJAX calls and return the data to flash or make direct AMFPHP calls and get data into flash. Which would be more faster? more importantly a better approach? ...

PHP/Flash integration inconsistencies

Hi guys, I am having some consistency problems with my flash application, when I echo out variables for flash to get, it doesn't always pick up what PHP is sending, it seems to vary from PC to PC. I am getting info from a database, and I need to pass it to flash, say for instance I need to send through 5 variables $uid,$name,$points,$f...

Instantiating a AMF PHP class not working

Hi guys, I am trying to use AMF PHP to pass variables to a flash file, thus far I cannot see anything wrong with my code, but I have very little experience with creating classes, so here it goes, here is my code, index.php: <?php include "amfphp/services/flashMe.php"; $session = true; if ($session == true) { $uid = '12345'; $thi...