Hi, I’m having trouble with my web application.
Basic rundown of the project scope: Dynamic list populated through XML. List selection opens slideshow and information. I generate one set of arrays from the original XML file and then generate duplicates of those arrays to filter the list according to type. I’m currently working on the filter.
function rePop(target){
del();
for (i=0; i<projects.length; i++) {
if (projects*.attributes.type == target) {
trace("hello")
} else {
trace("goodbye");
}
}
}
btn_btn.onPress = rePop("1");
it calls del; which splices the duplicate arrays, then rePop should make the new set of arrays according to its type or target.
Now when I delete the (“1”) argument on the button code it will trace the goodbyes, BUT when its there, the button will not re-act. Could someone help me out. Please PM me if you could help over AIM or something! This List filtering has been killing me all day! I realize now I should have thrown all the XML into a dataset, but its too late to re-structure now.
Thanks