Tag Archives: bug

Funny little bug in Flash E4X

Posted on30. May, 2008 by lukesh.

3

This works (outputs ID’s): new Array(); var attributes:XMLList = _data.Attributes..AttributeDescriptor; for each(var attribute:XML in attributes) { trace(attribute.@ID); } This doesn’t (outputs nulls): var attributes:XMLList = _data.Attributes..AttributeDescriptor; for each(var attribute:XML in attributes) { trace(attribute.@ID); } Any questions? Update: Kudos to Larry (developmentastic.com) for beating his head against this brick wall on the Winestore project.

Continue Reading