Yo,
I’m a very competent PHP/AS coder, but I can’t seem to find a way to solve this problem. Can it be done? Possible ways I’ve theorised (but not been able to put into practice yet):
- 
Loading AS script from external text file, much like loading CSS, or JS in HTML. 
- 
Writing AS to a movieclip as it is created on the fly. 
If anyone could help, I’d be much obliged!
Cheers,
MM