How do you import image to a dynamic box?

Hi i need help with importing image to a dynamic text box with scroller. I saw a tutorial on line that show you how to do it but it doesn’t show you how to center the image. is there a better way of doing this?? the tutorial use the ScrollPane.

please help me…