I have a loader which loads on a MouseEvent.Click

It uses this for multiple swfs
Actionscript Code:
myLoader.load(new URLRequest(event.target.name + ".swf"));

How can I add a custom preloader to this?