Community & Support

Call PHP from Flash - Use Services module?

I need to call a PHP function supplied by the User Points module after a Flash game has been played (with the points gained from the game). The User Points module supplies a service for the Services module which uses XML-RPC, however I'm not sure how to set this up...

Is there any way to call a PHP function from Flash, JavaScript or ActionScript using Drupal's built-in XML-RPC functionality, or can someone give me tips on setting up a service for the Services module?

Thank you!

Comments

Should use AMFPHP

Hey,
You should use AMFPHP to call PHP functions from Flash. You should use http://drupal.org/project/Services and http://drupal.org/project/amfphp
As for Flex and AMFPHP just search Google for "Flex AMFPHP".

nobody click here