[flexcoders] Call Popup via string var

2005-06-17 Thread Fernando Lobos
i try call pop via : var popup12 = mx.managers.PopUpManager.createPopUp(_root,frm_matriculas, modal, {deferred: true});all ok !But this way var popup12 = mx.managers.PopUpManager.createPopUp (_root,frm_matriculas, modal, {deferred: true});function llama_popup (pop_1:object ){ var popup12 =

RE: [flexcoders] Call Popup via string var

2005-06-17 Thread Matt Chotin
: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Fernando Lobos Sent: Friday, June 17, 2005 2:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Call Popup via string var i try call pop via : var popup12 = mx.managers.PopUpManager.createPopUp(_root

Re: [flexcoders] call popup with string

2005-03-09 Thread Manish Jethani
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

Re: [flexcoders] call popup with string

2005-03-09 Thread Fernando Lobos
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 =

Re: [flexcoders] call popup with string

2005-03-09 Thread Manish Jethani
On Wed, 9 Mar 2005 08:29:44 -0300, Fernando Lobos [EMAIL PROTECTED] wrote: yes, i know but , who can instantiate a class via string from variable? Actually that's what UIObject does internally. It does attachMovie() on the class's symbolName. So, yes, it's possible to create an object from a

RE: [flexcoders] call popup with string

2005-03-09 Thread Dirk Eismann
Hi, yes, i know but , who can instantiate a class via string from variable? Flex cannot load a class dynamically - you'll have to make sure that the class gets compiled into your SWF file. This can be achieved by referencing the class somewhere inside your code, e.g. function

RE: [flexcoders] call popup with string

2005-03-09 Thread Erik Westra
- From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: woensdag 9 maart 2005 13:05 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] call popup with string On Wed, 9 Mar 2005 08:29:44 -0300, Fernando Lobos [EMAIL PROTECTED] wrote: yes, i know but , who can instantiate a class via string

Re: [flexcoders] call popup with string

2005-03-09 Thread Fernando Lobos
= classRef[class_array[i]]; }; Then u can use classRef to do whatever u want. Greetz Erik -Original Message- From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: woensdag 9 maart 2005 13:05 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] call popup with string On Wed