Hmm... true... thanks to enlight me. now suppose that i'm running an application and i load a module inside that application this module loads a couple of packages. there is somehow to know the name of the module object?
raf --- In [email protected], jitendra jain <[EMAIL PROTECTED]> wrote: > > 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" > <rafaelfaria.grupos@> 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. >

