[MX] Loading External Actionscript

This is probably an easy answer. I’m basically wanting to use actionscript from an external text file. Could someone show me a short example of how to do this? I’d appreciate it.

Thanks

C:-)