Photo burn effect with actionscript? How?

Hi!

The effect I’m talking about is found at http://www.schmidtfoto.de/.

How could I accomplish this with actionscript? I read that you could do this by working with the color object? An example was given as:

myTarget = junk;

myTransform = {ra:100,rb:255,ga:100,gb:255,ba:100,bb:255,aa:100,
ab:0};

myColor = new Color(myTarget);

myColor.setTransform(myTransform);

howMuchtoSubtract = 10;
nextStep = 255;

this.onEnterFrame = function() {
nextStep -= howMuchtoSubtract;
if (nextStep <= 0) {
delete this.onEnterFrame;
}
myTransform = {ra:100,rb:nextStep,ga:100,gb:nextStep,ba:100,bb:n
extStep,aa:100,ab:0};
myColor.setTransform(myTransform);
}

Would this be applied to a movieclip? If so, what would the instance be? I tried to just add this code to my movieclip picture, but it did not work. Is there another way to create this effect with actionscript?

I gave this an attempt, but it doesn’t work. I’ll attach my try to this post.

Thanks!!