Hi,

   U can't add a text directly to the application . U must have a container. 
Add that. In that container add this textInput or text box whatever.

  Thanks,

withregards,
JJain

Rafael Faria <[EMAIL PROTECTED]> wrote:                               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
 >
 
 
     
                               

       
---------------------------------
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.

Reply via email to