Instead of just typing [EMAIL PROTECTED] (which won't work), use
the attribute() method:

node.attribute("some-attribute")

That should do it.

HTH,
   Ian

On Wed, Jul 2, 2008 at 5:35 PM, Alias™ <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Quick E4X question.
>
> I have an XML node, with an attribute inside, the name of which
> contains a dash "-".
>
> How can I access the value of this node via e4x inside actionscript?
> FDT doesn't seem to like the concept at all...
>
> Example:
>
> <someNode some-attribute="attribute data">
>
> I want to get the value of "some-attribute".
>
> Thanks in advance,
> Alias
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to