How do you access a class from another class?
===

I have two classes; my Main class and a class called BlockPlace. I want to use my Main class to run BlockPlace, but for some reason it isn't working. I've tried changing both codes, but it only results in errors. I know for a fact that the code works because I tested it in the timeline. Should I restructure the entire thing or is there a different solution? Here are my classes:

**Main Class:**

        package  
    {  
        import flash.display.*;
		import source.map.*;

        public class Main extends MovieClip{
            public function Main()  
            {  
            	BlockPlace();
            }  
        }  
    }

**BlockPlace:**

        package source.map{
	
	import flash.display.MovieClip;
	import flash.display.Stage;
	
	public class BlockPlace extends MovieClip{


		public function BlockPlace(){
			var db:MovieClip = new dbox();
			stage.addChild(db);
			db.x = stage.stageWidth / 2;
			db.y = stage.stageHeight / 2;
		}

	}
	
}
