I think [EMAIL PROTECTED]"class"] and x["@class"] also work.

- Gordon

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Tuesday, May 02, 2006 5:37 AM
To: [email protected]
Subject: Re: [flexcoders] XML attribute "class"

On 5/2/06, sergio_trejo_r <[EMAIL PROTECTED]> wrote:

> For example, if the XML contains an attribute named "class", then the
> _expression_ '[EMAIL PROTECTED]' will not compile because the word class is
> reserved.

> Does anyone know a workaround for this?

x.attribute("class")

If this is about describeType(), we've renamed the attributes to avoid
conflicting with AS3 keywords. Beta 3.

Manish


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to