# ColorMatrix + large images == no love

**URL:** https://forum.kirupa.com/t/colormatrix-large-images-no-love/278631
**Category:** flash
**Created:** [January 2, 2009, 9:30pm UTC](https://forum.kirupa.com/t/colormatrix-large-images-no-love/278631 "2009-01-02T21:30:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)
#### Post date: [January 2, 2009, 9:30pm UTC](https://forum.kirupa.com/t/colormatrix-large-images-no-love/278631/1 "2009-01-02T21:30:19Z")

</div>

Hi all  
I have been using a fairly standard colour matrix but have found it does not work at all if my image exceeds the stage size.  
I am trying to apply this effect to a jpg that is 900x1600px but to no avail.  
any pointers would be much apriciated

```auto
function loaded(event:Event):void {
	var targetLoader:Loader = Loader(event.target.loader);
	Bitmap(targetLoader.content).smoothing = true;
	swapChildren( bck, container );
	bck.addChild(targetLoader);
	cma = new ColorMatrix();
	cma.adjustColor(100, 100, 0, 0);
	bck.filters = [new ColorMatrixFilter(cma)];
	targetLoader.x = 0;
	targetLoader.y = -100;

            var minuteTimer:Timer = new Timer(1, 20);
            _brightness	=100;
		_saturation	= 100;
            minuteTimer.addEventListener(TimerEvent.TIMER, onTick);
            minuteTimer.start();
       

     function onTick(event:TimerEvent):void 
        {
	_brightness -=5;
	_saturation -=5;	
	cm = new ColorMatrix();
	cm.adjustColor(_brightness, _saturation, 0, 0);
	bck.filters = [new ColorMatrixFilter(cm)];
           
			if(_brightness <= 0){
				LOADMENU();
			}
			
        }
}

```
