Hi,

I dont believe that javascript orphp are the ways to go. I think it is worth trying to evaluate whether loading one of those swf into a container could add the features.
Also, there is something called jsfl, meant to extend flash. If the fla files are all built the same way, a script could perhaps automatically add pieces of code to them

Musicman