tags:

views:

45

answers:

1

Hi,

Is it possible to draw shapes in a flash animation at runtime through PHP? If so, how can this be achieved?

+1  A: 

You can use AMFPHP and pull server generated instructions every second.

Another way to do that would be Flash -> Javascript -> PHP, which will require more data piping than Flash -> AMFPHP.

Otherwise, it's unlikely, as PHP is operating on server-side, while Flash/AS3 are running on client side.

LiraNuna
I hadn't thought about Flash being client-side. Thanks for the link. I assume that Javascript is used as an intermediary in a similar way to AJAX.
James P.
Yep, Javascript will simply POST/GET every time span and pipe it to Flash using the API.
LiraNuna