Loading 8000 external jpegs into flash

If I have about 8000 jpegs (1024x768) to play in flash, is there any kind of solution to this?

I’ve tried bitmap data/ bitmap cache but the tutorials I’ve seen so far involves buttons. What if I want to let it play frame by frame by itself? like a slideshow?