Right now I have a section of my code that looks like this.
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.