# Border around dynamic Image \[MX\]

**URL:** <https://forum.kirupa.com/t/border-around-dynamic-image-mx/46687>\
**Category:** flash\
**Created:** [March 26, 2004, 9:57pm UTC](https://forum.kirupa.com/t/border-around-dynamic-image-mx/46687 "2004-03-26T21:57:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alwaysdrifting](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@alwaysdrifting](https://forum.kirupa.com/u/alwaysdrifting)\
**Post date:** [March 26, 2004, 9:57pm UTC](https://forum.kirupa.com/t/border-around-dynamic-image-mx/46687/1 "2004-03-26T21:57:24Z")

</div>

Hey all,

My question didn’t seem to get any replies last time so I am saying please with a cherry on top this time.

My question is related to putting a border around an image. I am dynamically loading images from an xml file and they appear as thumbnails. I want to put a 1 or 2 pixel black border around the image when I load it. The problem that I see is that some of the images are portrait and others, landscape. I hope there is a way to do this in AS? I have searched the forum but nothing.

Cheers
