IDEA: joint PHP 2 Flash project
Allright guys,
I just got an idea, it could be impossible/useless (i don't think it is), or already done or posted by somebody else.
I haven't done it by myself because I only know the basics of actionscript and I'm not a PHP-expert as well.
My idea was to create an php2flash.php file in which we define php-functions. These functions convert the php-language to the actionscript language.
For example a p2f_array(); function. You will have a php-array called names. and than you convert it to flash:
p2f_array($names);
in the function is a print command which prints the array.
This can be done for sql-query results (an array per row), variables, time-stamps???
the php2flash.php file we create can then be simply included in our backend-scripts.
Is this something?
Grtz. raps
|