Need to duplicate a loaded image -- AS3

I’m trying to create a panning feature where the image repeats itself again and again as the image scrolls right or left. It looks as if it is a 360 view of a room. (No warping of sides, just simply repeating the image.)

But ■■■■ … how do I duplicate my loaded image so that when the current image starts to scroll off screen, a duplicate one is placed right next to it for a continuous flow?

Please help! (Work project, and I’m stressed. )