Could you possibly post a working sample of a simple movie?

Two buttons:
Pressing one loads a swf file from hard drive to a sprite or movie holder.
Pressing the other loads a different swf file into the same sprite,movie...

I see how the loader element loads a file that is selected at development time but how to do it programatically... is still not clear to me.

Thanks for your help