# How to add a linestyle and a dropshadow to a dynamically loaded image

**URL:** <https://forum.kirupa.com/t/how-to-add-a-linestyle-and-a-dropshadow-to-a-dynamically-loaded-image/203991>\
**Category:** Uncategorized\
**Created:** [October 16, 2006, 11:04am UTC](https://forum.kirupa.com/t/how-to-add-a-linestyle-and-a-dropshadow-to-a-dynamically-loaded-image/203991 "2006-10-16T11:04:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nameez](https://avatars.discourse-cdn.com/v4/letter/n/2acd7d/32.png) [@nameez](https://forum.kirupa.com/u/nameez)\
**Post date:** [October 16, 2006, 11:04am UTC](https://forum.kirupa.com/t/how-to-add-a-linestyle-and-a-dropshadow-to-a-dynamically-loaded-image/203991/1 "2006-10-16T11:04:31Z")

</div>

hi

this is the code that loads them and sets the x and y positions. i need to give these images a border and a dropshadow effect

```auto

for (i=1; i<=num_img; i++) {
        _root.imgClip0.duplicateMovieClip("img_"+i, _root.getNextHighestDepth());
        
        eval("_root.img_"+i)._x = sc_width;
        eval("_root.img_"+i)._y = sc_height;
        
    }

```

can anyone help me?

Thanks
