RE: [flexcoders] e4x Filtering Success

2009-09-24 Thread Tracy Spratt
Don't do that much code in-line, declare a Bindable instance level
XMLListCollection variable and create that in a creationComplete handler.
That way you can debug your e4x expression using toXMLString();  It will be
nearly impossible to debug the inline binding.

Tracy Spratt,
Lariat Services, development services available

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jim Hayes
Sent: Thursday, September 24, 2009 2:51 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] e4x Filtering Success

the & needs to be the correct xml entity, I believe.

try using && in your mxml rather than &&

It's trying to tell you that, but it took me a few head scratches to work it
out, I must admit.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of AJC2357
Sent: Thu 9/24/2009 12:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] e4x Filtering Success
 
(partially...)

I was able to filter through e4x via mx:XML and the dataProvider as
follows...




How can I add an additional filter argument from here?  Using the &&
technique gave me error that "entity name must immediately follow &"

I want to filter something like: region = Asia AND GDP/capita = 1  

Thanks!


__
This communication is from Primal Pictures Ltd., a company registered in
England and Wales with registration No. 02622298 and registered office: 4th
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
VAT registration No. 648874577.


This e-mail is confidential and may be privileged. It may be read, copied
and used only by the intended recipient. If you have received it in error,
please contact the sender immediately by return e-mail or by telephoning
+44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email
Security System.
__



RE: [flexcoders] e4x Filtering Success

2009-09-24 Thread Jim Hayes
the & needs to be the correct xml entity, I believe.

try using && in your mxml rather than &&

It's trying to tell you that, but it took me a few head scratches to work it 
out, I must admit.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of AJC2357
Sent: Thu 9/24/2009 12:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] e4x Filtering Success
 
(partially...)

I was able to filter through e4x via mx:XML and the dataProvider as follows...




How can I add an additional filter argument from here?  Using the && technique 
gave me error that "entity name must immediately follow &"

I want to filter something like: region = Asia AND GDP/capita = 1  

Thanks!



__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__<>