How to make a custom AS3 preloader

How to make a custom AS3 preloader