Hi guys, this is a little OT as it more the tool than a code question but we keep running into this issue. We compile on windows using the flex ide, and sometimes I'll change an mxml file, save it and it builds but the change is not seen in the browser. I've got caching disabled and we've tested in both firefox and IE. We have to backup the project, delete it and then re-add it to eclipse and then it starts working ok again.. I removed all the componets from main.mxml and compiled it and it still showed "stale" components. Even running it through the debugger... its driving me nuts, has anyone else seen this (flex builder version 2.0.1) Grant ........................................... > b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) > [EMAIL PROTECTED] > http://www.bluetube.com/bti <http://www.bluetube.com/bti> > A Tribal Chicken Designs Affiliate <http://www.tribalchicken.com/>
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Cashorali, Tanya M. Sent: Tuesday, February 13, 2007 12:21 PM To: [email protected] Subject: RE: [flexcoders] convert e4x xml results to arraycollection or xmllistcollection I ended up using a filterfunction on the XMLListCollection and it works like a charm. Here's the code if anyone's interested: <mx:XMLListCollection id = "all_samples" filterFunction="myFilter" source="{display_samples.lastResult.sample}"/> public function myFilter(item:Object):Boolean { return [EMAIL PROTECTED] == "complete"; } ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Cashorali, Tanya M. Sent: Tuesday, February 13, 2007 11:47 AM To: [email protected] Subject: [flexcoders] convert e4x xml results to arraycollection or xmllistcollection I want to filter the results (which are in e4x format) of an HTTPService call (display_samples) and push certain ones into a new arrayCollection. This code populates a Tree just fine: <mx:XMLListCollection id = "all_samples" source="{display_samples.lastResult.sample}"/> But when I do this: Alert.show(all_samples.length.toString()); It's showing the size as 0. I can't seem to interact with the data at all. I also tried an arraycollection and I'm making sure I set it after I send() the HTTPService request. These also don't work: new ArrayCollection(display_samples.lastResult.sample) display_samples.lastResult.sample as ArrayCollection Any ideas? Thanks THE INFORMATION TRANSMITTED IN THIS ELECTRONIC COMMUNICATION IS INTENDED ONLY FOR THE PERSON OR ENTITY TO WHOM IT IS ADDRESSED AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED MATERIAL. ANY REVIEW, RETRANSMISSION, DISSEMINATION OR OTHER USE OF OR TAKING OF ANY ACTION IN RELIANCE UPON, THIS INFORMATION BY PERSONS OR ENTITIES OTHER THAN THE INTENDED RECIPIENT IS PROHIBITED. IF YOU RECEIVED THIS INFORMATION IN ERROR, PLEASE CONTACT THE SENDER AND THE PRIVACY OFFICER, AND PROPERLY DISPOSE OF THIS INFORMATION. THE INFORMATION TRANSMITTED IN THIS ELECTRONIC COMMUNICATION IS INTENDED ONLY FOR THE PERSON OR ENTITY TO WHOM IT IS ADDRESSED AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED MATERIAL. ANY REVIEW, RETRANSMISSION, DISSEMINATION OR OTHER USE OF OR TAKING OF ANY ACTION IN RELIANCE UPON, THIS INFORMATION BY PERSONS OR ENTITIES OTHER THAN THE INTENDED RECIPIENT IS PROHIBITED. IF YOU RECEIVED THIS INFORMATION IN ERROR, PLEASE CONTACT THE SENDER AND THE PRIVACY OFFICER, AND PROPERLY DISPOSE OF THIS INFORMATION.
<<attachment: small.jpg>>

