FotoFlow

Halo everybody,

I try to create a FotoFlow in flash and AS3. I have this problem:
1120: Access of undefined property cover

cover is a MovieClip which I created already in flash.

package FotoFlow {

import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.net.URLLoader; 
import flash.net.URLRequest;
import flash.display.MovieClip;
import flash.display.Loader;


public class FotoFlow extends Sprite{
    private var container:Sprite;
    private var loader:URLLoader;
    private var anglePer:Number;
    private var list:XMLList;
    private var l:Loader;
    
//    public var imCon:MovieClip = new MovieClip();
    
public function FotoFlow(){
        init();
        loadXML();
    } 
    
    private function loadXML():void{
        loader = new URLLoader(new URLRequest("C:/Documents and Settings/Ahmad/Desktop/FotoFlow/images.xml"));
        loader.addEventListener(Event.COMPLETE, createSlideShow);  
        list = new XMLList();
        anglePer = (Math.PI*2) / list.length();
        
        for(var i:int=0; i<list.length(); i++){
            var imc:imCon = new imCon();
        
            imc.buttonMode = true;
            imc.addEventListener(MouseEvent.CLICK, onClick);
            
            l = new Loader();
            l.x = -250;
            l.y = -167;
            l.load(new URLRequest(list*[email protected]));
            imc.addChild(l);
            imc.scaleX = imc.scaleY = 0.5;
            imc.angle = (i*anglePer) - Math.PI/2;
            imc.x = Math.cos(imc.angle)*450;
        //    imc.z = Math.sin(imc.angle)*450;
            imc.rotationY = 36*-1;
            container.addChild(imc);
            
        }
    }
    
    private function onClick(e:MouseEvent):void{
        
    }
    
    private function createSlideShow(e:Event):void{
        var xml:XML = new XML(e.target.data);
         list = xml.image;
        
    }
    
    private function init():void{
        container = new Sprite();
        container.x = 350;
        container.y = 250;
    //    container.z = 400;
        addChild(container);
        
        cover.addEventListener(MouseEvent.CLICK, stageClick);
        this.addEventListener(Event.ENTER_FRAME, loop);
    }
    
    private function stageClick(e:MouseEvent):void{
        
    }
    
    private function loop(e:Event):void{
        
    }
}

}

I don’t know why my cover is undefined. can sombody help me??

thanx.
4hmad