Preloader and Transitions for Dynamic Files QUESTION

Hello.
Can somebody help me out with some Action Script?
In this tutorial (Preloader and Transitions for Dynamic Files) there is an internal preloader that I wish to animate so it would paly a sequence before the new file loads. The sequence would then repeat itself until the new file does load. Any help would be very much apreciated.
Tnaks in advance.
Ivan