Load .png & mask border on top of the image

Hi there.

I’ve tried to use the tutorial as below:
http://www.kirupa.com/developer/mx/loading.htm

i was in a success to load the image dynamically with flash 8 as i am using a flash 8.

but i have trouble in knowing how to make a border on top of the image (i mean, the border would be on another layer, the image is on another layer)

how do i do this?

thank you.