to load p1.jpg (without button interaction) add to bottom line of your code -

photo_mc.loadPhoto("p1.jpg");