Okay... I'm trying to call methods from a class to no avail. It just tells me that I have undefined methods.

Why?

main.as:
Actionscript Code:
package
{
    import flash.display.Sprite;
    import flash.events.Event;
    import _display.as;
   
    /**
     * ...
     * @author devon
     */

    public class Main extends Sprite
    {
       
        public function Main():void
        {
            if (stage) init();
            else addEventListener(Event.ADDED_TO_STAGE, init);
        }
       
        private function init(e:Event = null):void
        {
            removeEventListener(Event.ADDED_TO_STAGE, init);
            // entry point
            movie();
            txt();
       
        }
       
    }
   
}

_display.as

Actionscript Code:
package
{
    import flash.display.*;
    import flash.text.TextField;

    public class _display extends MovieClip
    {
        public var mc:MovieClip = new MovieClip();
       
        public function movie():void
        {
            mc.height = stage.stageHeight;
            mc.width = stage.stageWidth;
            mc.x = 0;
            mc.y = 0;
            stage.addChild(mc);
            trace("mc created");
        }
       
        public var myText:TextField = new TextField();
       
        public function txt():void
            {
                myText.text = "Yo.";
                mc.addChild(myText);
            }
    }
}