You need to make sure that frm_matriculas is still linked into your application.  If Flex does not see a reference to that class it will not put it in the SWF for you.

 

Add something like this line to your Application:

var dependency : frm_matriculas;

 

HTH,

Matt

 


From: 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,
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 = mx.managers.PopUpManager.createPopUp(_root, pop_1,
modal, {deferred: true});

}

nuevopopup:object

nuevopopup = "frm_matriculas"
llama_popup(nuevopopup)

---------
nothing, can i do for call popup function with string ?



Yahoo! Groups Links

Reply via email to