amfphp

Drupal + AMFPHP + Simplenews. Is it possibile?

I'm integrating Drupal with Flash using AMFPHP as a service. Everything works as expected with view.get and node.get The problem is that now I need to integrate the newsletter making flash "talk" with simplenews since simplenews works as a module I can't find a way to let them talk. What I would need is to send an email address and g...

Flash media server with php

We want to build an application that allows the user to record a video using their webcam on our site using flash and save the URL in a database using PHP. So that we can allow the user to send the video's to other users etc. Also we want to offer the user the possibility to upload their movies (per mail and with PHP) and convert them t...

How do I attach file information after saving a file

I'm currently working on a Flash application that needs to save files to Drupal. I already saved the file to the Drupal site with the File service, but I can't get to attach the file to the node with the node.save service (Upload module, not CCK file field). The object that I will transfer with node.save looks like this in AS3 : var no...

Flash webservice (remoting) calls in CS5 using Flash 10

I'm finding little info out there on using Flash and remoting services. Currently I'm starting out using AMFPHP which works pretty well for sending back simple sets of data but I'd like to send back complex query types which translate to RecordSets. I have two problems: 1) Is this the way it's currently done? PHP backend with AMFPHP ...

AMFPHP overiding default function arguments?

I've got this odd problem. If I make a call on that function through amfphp service browser and give it a valid ID and leave the $num_images field blank amfphp will actually pass a blank string as the argument. // if i call this function width just an ID function getWorkers($id, $num_images = 100) { ... // num_images will be se...

AMFPHP: Can't map PHP class to AS3 class

Hi, I'm using AMFPHP 1.9, ActionScript 3 and Adobe Flash Pro CS5 with Flash player 10x. I was trying to get data by calling amfphp serices. I'm running the app from within the Flash IDE. For primitive types like string or integer it's working fine. But when trying to get a custom object it shows the following error: SecurityError: Erro...

AMFPHP call from server to client

Is it possible to call a client method from server using AMFPHP? For example if there is a Flash chat app with PHP backend. Everytime a new chat is logged from one of the clients, server would call update in all of the clients? ...

How to send ByteArray to Flash without using php_amf extension

Hi. I'm working on a Flash tool that needs to send some data in the form of a flash.utils.ByteArray instance to PHP (amfphp service class) and get that data back from the amfphp service as flash.utils.ByteArray instance. Now I can do all of these with the php_amf extension enabled on the local WAMP server. And the tool works fine. But ...

Problem trying to post in facebook trough AMFPHP

I'm using AMFPHP, and wrote a small function in php to post in facebook whenever it's called: function postear($pregunta,$winoption,$loseoption) { require_once("../../facebook.php"); Facebook::$CURL_OPTS[CURLOPT_SSL_VERIFYPEER] = false; $facebook = new Facebook(array( 'appId' => 'xxxxxxxxxxxxx', 'secret' =>...

FLEX/amfPHP ActionScript error 2048

Hello guys. Sorry about the mishmash of words in the title, but that's how confused I am. I can't even summarize the error I'm getting in a simple sentence. This flex/amfphp application works fine on my computer, even though it accesses an Oracle database on another server. However, when I try to access it from another computer, this is...

AMFPHP how to get object in php that is dispatched by flex?

hello i am working on AMFPHP and i had this problem -> i am using XAMPP server with AMFPHP gate way for flex and this is working well for returning values from PHP ->the problem is how can i get the object in php which i passed to the pap class using flex code is here:- connection.objectEncoding = ObjectEncoding.AMF3; ...