Groups | Blog | Home
all groups > flash data integration > december 2004 >

flash data integration : afterloaded and dataset with xmlconnector


fabien M
12/11/2004 8:04:24 PM
Hi all!

I'm using an xmlconnector component to connect xml datas with dataset....and
an "afterLoaded" listener on it,
to filered data.
A button send an trigger() action to the xmlconnector.
All is working well, and the datas are well filtered.
But for a secon time, if i release the button, the xml are well loading, but
the dataset is not filtered....., the function for filtered
is executed (i can trace a string in the function), but the datas are all
sending. ????

any one can help me with this thing ...?????? is there an other listener, like
"onReload"...or so..??????

Thank's for your help !!

--- this is the code :

trierMessage = new Object();
trierMessage.afterLoaded = function(objEvt){
setFiltrerMessages(objEvt.target);
}
myDs.addEventListener("afterLoaded",trierMessage );

setFiltrerMessages = new Object();
setFiltrerMessages = function(request) {
trace (request + " AAAA est tri? !");
request.filtered = true;
request.filterFunc = function(item:Object) {
return(item.MESEXP == _root.base.leLogin);
}
}

monButton.onRelease =function(){
myXmlconnecteur.trigger();
}

fbm
jhutchdublin
12/13/2004 9:26:19 PM
AddThis Social Bookmark Button