I created something very simple like that... but still doesnt work =/
can someone help me?!
package
{
import mx.controls.TextInput;
import mx.core.Application;
public class testing extends Application
{
public function testing()
{
var i:TextInput = new TextInput();
addChild(i);
}
}
}
--- In [email protected], "Rafael Faria"
<[EMAIL PROTECTED]> wrote:
>
> I'm coding a package. Lets say i want to add something to the stage,
> how would i do that?
>
> this.addChild inside the package doesnt work.
>
> any ideas?
>
> raf
>