Array Woes

Hi all, i’ve progressed a lot from were i was in learning actionscript last time i posted here, haven’t had any problems i couldn’t figure out myself since then and im guessing the solution is obvious again but i can’t seem to figure this one out as it has to do with arrays and i sorta understand them but haven’t needed them for anything practical until now, im making a photo gallery for my father for his birthday and since there aren’t going to be too many pictures i don’t want to bother learning how to do it through XML , not as of yet at least, so im just using an array to hold the locations of my photos, I tested my code by just using a single path as the URLRequest and it worked great, so i made an array and replaced the single path with the array and the location of the path in the array that i want it to start with. Thats where the problem is, i get
“TypeError: Error #1009: Cannot access a property or method of a null object reference.
at moranvillephotography()[/Users/bobbymoranville/Desktop/moranvillephotography.as:18]”
when i test my swf.

package {
	
	import flash.display.Sprite;
	import flash.display.StageScaleMode;
	import flash.display.Stage;
	import flash.events.*;
	import flash.display.StageAlign;
	import fl.transitions.*;
	import flash.display.Loader;
	import flash.net.*;
	import fl.transitions.easing.*;
	import flash.filters.*;
	import gs.TweenMax;
	
	public class moranvillephotography extends Sprite {
		
		public var cliploader:Loader = new Loader();
		public var cliprequest:URLRequest = new URLRequest(clipnames[0]);
		public var clipnames:Array = new Array("'i.jpg'" , "tree.jpg");
		public var i:int = 0;
		
		public function moranvillephotography (){
			trace(clipnames);
			stage.align = StageAlign.TOP_LEFT;
			stage.scaleMode = StageScaleMode.NO_SCALE;
			
			stage.addEventListener(MouseEvent.CLICK, loader);
			stage.addEventListener(Event.RESIZE, scaler);
			
		}
		
		public function loader(e:Event):void{
			cliploader.load(cliprequest);
			addChild(cliploader);
			i+= 1;
		}
		
		public function scaler(e:Event):void {
			var xTween:Tween = new Tween(cliploader,"width", Strong.easeOut,cliploader.width,stage.stageWidth,.50, true);
			var yTween:Tween = new Tween(cliploader,"height",Strong.easeOut,cliploader.height,stage.stageHeight,.50,true);
			xTween.addEventListener(TweenEvent.MOTION_FINISH,colorize);
			yTween.addEventListener(TweenEvent.MOTION_FINISH,colorize);
			TweenMax.to(cliploader, .25, {colorMatrixFilter:{amount:1, saturation:0}});
		}
		
		public function colorize(event):void{
			if(cliploader.width == stage.stageWidth){
				TweenMax.to(cliploader, .25,  {colorMatrixFilter:{amount:1, saturation:1}});
			}else if(cliploader.height == stage.stageHeight){
				TweenMax.to(cliploader, .25,  {colorMatrixFilter:{amount:1, saturation:1}});
			}
		}
	}
}

Thats my code, i hope you can help, i’m sure it isn’t too complicated but im a noob :puzzle: THX