can i also recommend you are a little more verbose with your attribute names?
makes the whole thing much more readable a On Wed, Feb 3, 2010 at 6:27 PM, allandt bik-elliott (thefieldcomic.com) < [email protected]> wrote: > try tracing artistBio.length() (note the () - it's different to array) > > try also tracing artistBio.toString() and artistBio.toXMLString() > > a > > > On Wed, Feb 3, 2010 at 6:19 PM, Mendelsohn, Michael < > [email protected]> wrote: > >> Ugh! What am I missing here? >> >> //XML: >> var artData:XML = <art> >> <bios> >> <artist f="Peter" s="Agrafiotis">A longtime resident of Southern >> Maine, Peter Agrafiotis has always been fascinated with the timelessness of >> nature</artist> >> </bios> >> </art>; >> >> >> var lastName = "Agrafiotis"; >> var artistBio:XMLList = artData.bios.artist.(@s==lastName); >> >> // artistBio returns null -- WHY??? >> >> >> >> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

