yes, i know but , who can instantiate a class via string from variable?
On Wed, 9 Mar 2005 14:58:40 +0530, Manish Jethani <[EMAIL PROTECTED]> wrote: > On Tue, 8 Mar 2005 10:50:25 -0300, Fernando Lobos > <[EMAIL PROTECTED]> wrote: > > > function llama_popup (pop_1:object ){ > > > > var popup12 = mx.managers.PopUpManager.createPopUp(_root, pop_1, > > modal, {deferred: true}); > > > > } > > > > nuevopopup:object > > > > nuevopopup = "frm_matriculas" > > llama_popup(nuevopopup) > > The second argument to createPopUp() is an object, a reference to the > class, not a string (the name of the class). So if you remove the > quotes around frm_matriculas it should work. > > Manish > > Yahoo! Groups Sponsor > ADVERTISEMENT > > ________________________________ > Yahoo! Groups Links > > To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.