Thanx On Sat, Jun 7, 2008 at 2:33 AM, Alex Harui <[EMAIL PROTECTED]> wrote:
> createPopUp requires a Class. You can use getDefinitionByName to > convert a string to a class as long as that class got linked into the SWF > somehow. > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Fernando Lobos > *Sent:* Friday, June 06, 2008 5:56 PM > *To:* [email protected] > *Subject:* [flexcoders] Call component for String name > > > > hi, i try to call a component titlewindows with you name but in string > > > > > > example > > > > > > > > var object1:Object > > > > Object.name = "frm_titlewindows_sales" > > > > puWin = PopUpManager.createPopUp(this, Object, true); > > >

