New sfAmfPlugin release
I have just released a new version of my Symfony-Plugin sfAmfPlugin. The new version 1.4.0 has the following changes included:
- Added an error handler function. All Errors will now be delivered as an exception (thanks to raphox for this)
- Fixing problem with associative array values
- Updated SabreAmf to version 1.3.0
- Added correct content type support, you should now use the handleRequest method in your actions as shown in the documentation
You can now use the the plugin in your actions like this:
public function executeAmf(sfWebRequest $request) {
sfAmfGateway::getInstance()->handleRequest();
return sfView::NONE;
}
There is a lot of stuff coming for the next version of the plugin, so stay tuned ![]()

After updating to 1.4.0, and updating my controller to be like in your example I get the following PHP error:
PHP Fatal error: Call to undefined method sfAmfGateway::handleRequest() in …actions\actions.class.php on line 15. Even after creating a new sf project it happens.
30 Jun 2009 at 19:20
You are right. Sorry for this release. Should have tested this. I just released version 1.4.1 fixing this problem
Timo
01 Jul 2009 at 08:19
No probs, thanks for the great plugin, sfAmfPlugin really makes AMF easy! I’m using it on an Adobe AIR based Content Management System I’m building for the fun of it, and it works wonderfully!
01 Jul 2009 at 18:43