Dynamic Tiling Backgrounds

I would like to have a layer that tiles an image, similar to windows desktop tiling, I found a tutorial on kirupa but it the tiling shrinks the bitmap down and tiles in at a really tiny size. I will be setting the width of the Flash Project to 100% of the screen.