Actionscript for loader

I would like to make a loader from a custom movie clip where the movieclip’s timeline advances a frame for every tenth of the file loaded. Any advice?

Thanks.