AMFPHP is a PHP open source library used to serialize/deserialize AMF packages. It allows remote invokation from Adobe Flex to PHP.
Questions tagged [amfphp]
209 questions
1
vote
2 answers
AMF class mapping not working
I am building an application using Flex 4.5 and Zend_AMF as my AMF endpoint.
I would like to map a class called CRequest in PHP to a class called Request in Flex.
This is my php class:

F21
- 32,163
- 26
- 99
- 170
1
vote
1 answer
How to load a SWF and some extra data in the same request?
I'm loading a Flex 4.5 module (it's a SWF file) using a PHP code like this:
$module = 'modules/'.$_GET['module'].'.swf';
if(!file_exists($module)) {
$module = 'error.swf';
}
$size = filesize($module);
$contents =…

coma
- 16,429
- 4
- 51
- 76
1
vote
4 answers
Flex AMFPHP vs WebORB vs XMl
I am a newbie to Flex 3 and Flash remoting and I can't decide which technique to use for frontend/backend communication.
I started of with XML, but it seems overhead to construct all XMLs in PHP, parse them in Flex, and for sending back data…
Martin M
1
vote
2 answers
Should services act like controllers?
I've done a fair amount of (web)development in the usual MVC way of thinking and it served me well I think.
However, I now have to split my application in a way that my front-end has to access the server-side functions as services.
Since I'm the one…

Felipe
- 11,557
- 7
- 56
- 103
1
vote
1 answer
AMFPHP / ZENDAMF optimization
Is there a way to cache AMFPHP / ZENDAMF requests. I have used several chaching solutions like Cache_Lite and memCached in the past, but never for AMFPHP / ZENDAMF. Does anyone know any?

oscarm
- 2,630
- 6
- 41
- 74
1
vote
1 answer
I get error when i execute amfphp file
I have one page in my site with flash, but I have a problem.
When I try to execute dircetly the file site.com/amfphp/gateway.php I get this error:
Fatal error: Uncaught exception 'VerboseException' with message
'Non-static method…

Николай Турлаков
- 31
- 1
- 7
1
vote
2 answers
AS3 BBcode or replacement-technique?
I'm making a website in AS3/PHP (databasecalls) and I want to load news on the homepage, fed from a mySQL database. No problem to get plain text with AMFPHP. But I'm looking for something different. I know how to load images/YouTube videos within…

Nick
- 560
- 6
- 19
1
vote
1 answer
SWF to bytearray from a PHP script
i'm using AMFPHP to stream content from my server to my Flex application, since Flash is a clientside technology i would like to make it harder for people to grab protected files, so i created a system that streams swf file to another flash player,…

Rami GB
- 789
- 1
- 8
- 19
1
vote
1 answer
Flex, AMFPHP and Codeigniter?
I'm just starting out in Flex development and want to know how Zend / Flex and CodeIgniter / Flex stack up.
I'm a PHP developer, and know CI pretty well but haven't used Zend, but it seems to be the framework used most often in tutorials and the…

logic-unit
- 4,195
- 12
- 47
- 72
1
vote
1 answer
FLEX/amfPHP ActionScript error 2048
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…

Felipe
- 11,557
- 7
- 56
- 103
1
vote
1 answer
Firebug and AMF post
I have to debug a website that uses a swf to send amf posts to a flex2gateway.
In Firefox's "Firebug > Net" I see the POST url and when I click on it, the Post tab shows scrambled jiberish:
The response is also scrambled:
But the headers and…

Frank Morrison
- 51
- 4
1
vote
0 answers
NetConnection to AMFPHP failed on iOS
I've a problem with my Adobe Air mobile application.
I'm using NetConnection class to connect my app to AMFPHP on a server to load my database information.
When I launch the app with an Android device, all works fine.
But, when I'm trying to launch…

Glassalau
- 11
- 2
1
vote
0 answers
From AMFPHP 1.9 to 2.x with Flash and MySql
There is not much information on how to update your communication between Flash > AMFPHP 2.x and AMFPHP > MySql when upgrading from AMFPHP 1.9 to 2.x. This worked for me.
Old Flash actionscript 3 (AMFPHP 1.9):
var arrayCompleet:Array = new Array(); …

Rob Mulders
- 11
- 3
1
vote
1 answer
Drupal + AMFPHP + Simplenews. Is it possible?
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…

0plus1
- 4,475
- 12
- 47
- 89
1
vote
1 answer
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?

Peter Hanneman
- 523
- 1
- 5
- 18