About stage and loading swf

hi there,

I’m having some problems loading external swf, I have this slideshow wich I want to load to my main .fla but it throw me an error of my function where I set the stage properties, I’ve set it to no scale and align it top left, but when I load the .swf it says that theres a problem with that function

setCanvas ();
function setCanvas ():void
{
	stage.align = StageAlign.TOP_LEFT;
	stage.scaleMode = StageScaleMode.NO_SCALE;
	stage.addEventListener (Event.RESIZE, canvasResize);
}

function canvasResize (evt:Event):void
{
	back.x = stage.stageWidth / 2;
	back.y = (stage.stageHeight  - 40) / 2;
	detail.x = (stage.stageWidth - detail.width) /2;
	detail.y = (stage.stageHeight - detail.height - 40) /2;
}

that’s the code of the .swf that I want to load

import flash.display.Loader;
import flash.events.ProgressEvent;
import flash.events.Event;
import flash.net.URLRequest;
import flash.display.MovieClip;

stop ();

loadAssets1();
function loadAssets1 ():void
{
	var swfLdr:Loader = new Loader();
	swfLdr.contentLoaderInfo.addEventListener (ProgressEvent.PROGRESS, progressHandler1);
	swfLdr.contentLoaderInfo.addEventListener (Event.COMPLETE, completeHandler1);
	swfLdr.load (new URLRequest("weddingsHome.swf"));
}

function progressHandler1 (evt:ProgressEvent):void
{
	//a
}

var clip1:MovieClip;
function completeHandler1 (evt:Event):void
{
	clip1 = new MovieClip();
	this.addChild (clip1);
	var swf:Loader = Loader(evt.target.loader);
	clip1.addChild (swf);
	swf.contentLoaderInfo.removeEventListener (ProgressEvent.PROGRESS, progressHandler1);
	swf.contentLoaderInfo.removeEventListener (Event.COMPLETE, completeHandler1);
}

and that’s the code of the main .fla

TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.
	at weddingsHome_fla::MainTimeline/setCanvas()
	at weddingsHome_fla::MainTimeline/frame1()

the last is the error thrown, any help please??