Good day. I am an Action Script 3.0 and Php programmer. Of course, these are two very dynamic and powerful programming languages. And I want to combine them in my flash application, but I don’t know how to do it. Please tell me how to insert Php code into Action Script 3.0 syntax.
Answer 1, authority 100%
ActionScript in the form of SWF is executed by Flash Player on the client side, PHP – as an interpreter on the server side. Therefore, directly inserting one into the other is not realistic.
For typical tasks, it’s enough to use PHP to generate data in the form of XML on the server and pass it to ActionScript on the client.