Hi, i'm use the flex 1.5 and the Loadvars to work with CGI file now i
chage to version 2 beta and my function to work with CGI don work
anymore !

How i can work with CGI in flex 2.0 Beta ?

function chamarcobol() {
var url:String = "http://10.0.0.244/cgi-bin/sfexx001"; ;
var my_lv:LoadVars = new LoadVars();
my_lv.REPTRF = CODREP.text;;
my_lv.EMPTRF = CODFILIAL.text;
my_lv.FLDRES = "123";
my_lv.onLoad = function(Ok){
if(Ok) {
_level0.depthChild0.NOMREP.text = my_lv.FLDRES;
} else {
mx.controls.Alert.show('Não foi possivel enviar os
dados ao servidor ! /n Tente mais tarde ou entre em contato com o
suporte.', 'Erro'); }

my_lv.sendAndLoad(url,my_lv);
break; }


Please how i can use now to make the same thing ?


Tnks 

Eguinaldo Marques






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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:
    http://docs.yahoo.com/info/terms/
 


Reply via email to