Load External Photo To Target

Hello,

I am a bit unclear on how I would go about loading external photos into a target area MC in my project, and how I would create buttons to navigate through the photos.

I have a photo gallery. And there are two buttons for it: “next” and “previous”. I’ve been trying to make the “next” button go to the next external photo that is hosted online.

I have my photo files named 01.jpg, 02.jpg, 03.jpg etc on my web server, because I am under the impression that some sort of actionscript would then be able to be created for the “next” button to know to go to the next numbered file in the list, as well as actionscript for the “previous” button which could do essentially the same thing, only in reverse.

I am also not sure how to tell the external photos to load into my target area MC (which has an instance name of “container”).

Might anyone know how to go about this?

Thank you all very much.
Daniel