Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto
Sent: Friday, February 15, 2008 3:28 PM
To: Flash Coders List
Subject: Re: [Flashcoders] E4X Non sense !!! Need help
Try:
trace(xmlData.accesscode.(shortcut.contains
Nice!
BLITZ | Patrick Matte - 310-551-0200 x214
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto
Sent: Friday, February 15, 2008 3:28 PM
To: Flash Coders List
Subject: Re: [Flashcoders] E4X Non sense !!! Need help
Try:
trace
Try:
trace(xmlData.accesscode.(shortcut.contains("S001")));
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Martin Tremblay wrote:
EX4 cannot find a node using E4X when one of it's sibling has the same
name.
Is there a way to avoid this problem ?
var xmlData:XML =
S001
erp! I was close ;)
B.
On Fri, Feb 15, 2008 at 3:56 PM, Glen Pike <[EMAIL PROTECTED]>
wrote:
> You should be able to index children of the same type as array elements.
>
> root.accesscode.(@id == "S000").[0] or similar.
>
> Martin Tremblay wrote:
> > EX4 cannot find a node using E4X when one of
trace(xmlData.accesscode[0].(@id == "S000"));
cannot test it out atm (no flash/flex infront of me) but I believe they are
indexed as well.
hth.
On Fri, Feb 15, 2008 at 2:57 PM, Martin Tremblay <[EMAIL PROTECTED]>
wrote:
>
> EX4 cannot find a node using E4X when one of it's sibling has the sam
You should be able to index children of the same type as array elements.
root.accesscode.(@id == "S000").[0] or similar.
Martin Tremblay wrote:
EX4 cannot find a node using E4X when one of it's sibling has the same
name.
Is there a way to avoid this problem ?
var xmlData:XML =
EX4 cannot find a node using E4X when one of it's sibling has the same
name.
Is there a way to avoid this problem ?
var xmlData:XML =
S001
smallbusiness
S000
S000
;
trace(xmlData.accesscode.(@id ==
7 matches
Mail list logo