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

**URL:** <https://forum.kirupa.com/t/questionwith-beginners-guide-to-getting-started-with-as3-without-learning-flex/196943>\
**Category:** Uncategorized\
**Created:** [August 12, 2006, 12:22am UTC](https://forum.kirupa.com/t/questionwith-beginners-guide-to-getting-started-with-as3-without-learning-flex/196943 "2006-08-12T00:22:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![warhero](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/warhero/32/1251_2.png) [@warhero](https://forum.kirupa.com/u/warhero)\
**Post date:** [August 12, 2006, 12:22am UTC](https://forum.kirupa.com/t/questionwith-beginners-guide-to-getting-started-with-as3-without-learning-flex/196943/1 "2006-08-12T00:22:15Z")

</div>

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](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](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
