Questionwith: Beginners Guide to Getting Started with AS3 (Without Learning Flex)

I have learning AS3. used senoculars tutorial to figure out how to compile things and such.

my question is how can I use the flex components without having to use the flex builder IDED.

someone had reccommended doing something like this:

<?xml version=“1.0” encoding=“utf-8”?>
<mx:Application xmlns:mx=“http://www.adobe.com/2006/mxml” layout=“vertical”>

&lt;mx:Script&gt;
    --code--
&lt;/mx:Script&gt;

&lt;mx:TextInput x="100" y="100"&gt;&lt;/mx:TextInput&gt;

</mx:Application>

which I in turn tried:

MXML::
<?xml version=“1.0” encoding=“utf-8”?>
<mx:Application xmlns:mx=“http://www.adobe.com/2006/mxml” layout=“vertical”>

&lt;mx:Script&gt;
    import AppStarter;
    var app = new AppStarter();
&lt;/mx:Script&gt;

&lt;mx:TextInput x="100" y="100"&gt;&lt;/mx:TextInput&gt;

</mx:Application>

AS:::

package
{
import flash.text.TextField;
import flash.display.Sprite;

public class AppStarter extends Sprite
{
    public function AppStarter()
    {
        var t:TextField = new TextField();
        t.text = "test";
        addChild(t);
    }
}

}

that doesn’t work. is spits this out:

Warning: var ‘app’ will be scoped to the default namespace: Main: internal. It will not be visible outside of this package.
var app:AppStarter = new AppStarter();

basically i am just looking for an entry point into AS… does someone know how to do this?

thanks