# Dynamically Loaded Jpegs

**URL:** <https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872>\
**Category:** flash\
**Created:** [June 23, 2003, 5:18pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872 "2003-06-23T17:18:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![worm](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/worm/32/235_2.png) [@worm](https://forum.kirupa.com/u/worm)\
**Post date:** [June 23, 2003, 5:18pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/1 "2003-06-23T17:18:29Z")

</div>

I loaded a picture dynamically but it looks very sharp and stands out too much. Is there a way that i could put a border around the picture (probably a mask) to help it to blend in more

heres the code i used to genreate the jpeg.

> \_root.createEmptyMovieClip(“imageHolder1”, 200);  
> imageHolder1.\_x = 160;  
> imageHolder1.\_y = 55;  
> loadMovie(“digicel.jpg”, “imageHolder1”);  
> stop();

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 5:23pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/2 "2003-06-23T17:23:33Z")

</div>

One way is to import the picture into a new fla and create the border or anything else you like and then just load that movie instead of the jpg. If you think the picture is to sharp you could always use some alpha to make it blend in. Would that work for you?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 5:47pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/3 "2003-06-23T17:47:25Z")

</div>

y not just make a border around your imageholder, and make a white overlay with a very low transparency . that’ll do the trick

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 6:17pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/4 "2003-06-23T18:17:48Z")

</div>

thnx guyz

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 6:24pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/5 "2003-06-23T18:24:12Z")

</div>

digital, ur idea didnt work. could u xpln ne further.  
I’d glady welcome any other ideas.  
I guess another problem stemming from this is that i dont want be loading from too many sources. I kinda just want each movie to have as many self contained elements as possible.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 6:56pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/6 "2003-06-23T18:56:53Z")

</div>

all i was saying was to make a leyr over your holder. create a box aroudn it with a light overlay, and load you jpg in the layer below the one you just created. that will work, it’s liek doing it to anything else.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 7:18pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/7 "2003-06-23T19:18:22Z")

</div>

i tried but for some reason, the dynamically loaded pic still seems to come out on top.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 8:13pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/8 "2003-06-23T20:13:03Z")

</div>

hmm, if u want post your project, ill take a look, it’s probably something really silly

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 23, 2003, 8:50pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/9 "2003-06-23T20:50:08Z")

</div>

yeah, here it is

> **[Yahoo Small Business - Cheap Domains, Web Hosting, Website Builder, Ecommerce...](https://smallbusiness.yahoo.com/)**
>
> Yahoo Small Business Offers Cheap Domain Names, Web Hosting, Easy Website Builder, Business Email, Local Listings, and Ecommerce Solutions for Your Small Business.

  
ive actually taken moolers advice but still look around and see. thnx in advance.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 24, 2003, 2:04pm UTC](https://forum.kirupa.com/t/dynamically-loaded-jpegs/23872/10 "2003-06-24T14:04:17Z")

</div>

Digitalosophys advice is actually better 🙂 because then you only need to create the border and “softning” alpha object one time instead of doing it in every swf that is loaded into your holder. But that´s the case if the jpgs that are loaded are all to sharp and need the same “softning”  
Good luck!
