views:

302

answers:

0

Hello, I have problem with parallel call (by RemoteObject calss) AMFPHP method.

AMFPHP side: method_1 methot_2

Flex side: call method_1 call method_2 before method_1 send result

Result/errors: in Flex log: Error "delivery in doubt". In PHP log: Fatal error: Cannot redeclare class AmfphpGateway in (my path)/AmfphpGateway.php on line 6

any ideas? Single call method_1 and method_2 works without problem, but parallel call cause errors.

Configuration: flex builder 4 beta 2; Adobe Flex SDK 4.0.0.13875 (last Stable Build); AMFPHP 1.9