AMFPHP vs Flash

Since I got stuck with the photogalley arrays im trying AMFPHP.

The AMFPHP site works like a charm. But now i get the next syntax error in Flash and i can’t see whats wrong.

error:

Scene=Scene 1, layer=Layer 1, frame=1, Line 16 A type identifier is expected after the ‘:’.

as2 script:

init();

function init()
{
// setting up NetConnection
var net:NetConnection = new NetConnection();

// making connection with the AMFPHP gateway
net.connect(“http://www.sitename.com/amfphp/gateway.php”);

// getData call within thePHP class: AlbumService
// Responce calling and handing throught the results to amfResults

net.call(“AlbumService.getData”, new Responder(amfResults));
}

[COLOR=red]function amfResults(result:Object):void //= line 16[/COLOR]
{
// trace the 2nd child of the array and display the field “file”
trace(result[1].file);
}