[flexcoders] Re: E4X - Copy attributes

2007-03-19 Thread Geoffrey Williams
You want to use brackets not braces and use the name () method. for each (var a : XML in [EMAIL PROTECTED]) { [EMAIL PROTECTED] ()] = a; } --- In flexcoders@yahoogroups.com, pgp.coppens [EMAIL PROTECTED] wrote: Hello, I would like to copy a number of attributes from one element to

[flexcoders] Re: E4X - Copy attributes

2007-03-19 Thread pgp.coppens
Thanks! Appreciate your help, Peter. --- In flexcoders@yahoogroups.com, Geoffrey Williams [EMAIL PROTECTED] wrote: You want to use brackets not braces and use the name () method. for each (var a : XML in [EMAIL PROTECTED]) { [EMAIL PROTECTED] ()] = a; } --- In