# Apply blend mode to image loaded from URL?

**URL:** <https://forum.kirupa.com/t/apply-blend-mode-to-image-loaded-from-url/267026>\
**Category:** flash\
**Created:** [July 27, 2008, 6:40pm UTC](https://forum.kirupa.com/t/apply-blend-mode-to-image-loaded-from-url/267026 "2008-07-27T18:40:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![peartart](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@peartart](https://forum.kirupa.com/u/peartart)\
**Post date:** [July 27, 2008, 6:40pm UTC](https://forum.kirupa.com/t/apply-blend-mode-to-image-loaded-from-url/267026/1 "2008-07-27T18:40:35Z")

</div>

Right now I have a section of my code that looks like this.

```auto
this.createEmptyMovieClip("two",this.getNextHighestDepth());
two.loadMovie(someURL);
var blend:Array = ["multiply", "screen", "overlay", "hardlight"];
var randblend:Number = Math.round(Math.random()*blend.length);
two.blendMode = blend[randblend];
trace(two.blendMode);

```

The trace works fine and shows a random blend mode, but the blend mode isn’t actually applied visibly. I apply the blend mode in the same way to an image loaded from the library, and it works perfectly. I don’t know why this isn’t working… Is there any way to have the blend mode actually apply?

I figured out a way around this problem. I just added a movie clip inside of “two” and loaded the image into _that_, still applying the blend mode to two.
