it's actually really easy if you know action script... the PHP part isnt the baddest of them all, it's basically connection MySQL and storing/retrieving values, that's all.
and since action script looks a lot like c-script (AS 1.0) it's really good to do for us 3dgs programmers