i'm the beginner of Flash..i have some questions which made me very confusing...

now i have a XML ,the content are following...

HTML Code:
<myFriends>
    <Name Gender="movie\movie_1128415346.jpg">abc</name>    
    <Name Gender="Male">Tom</Name>
   <Name Gender="Yo">HK</Name>
</myFriends>
then i enter some actionscript like..

function init() {

y=myXML.firstChild.firstChild.nextSibling.attribut es.Gender;
trace(y);
}
var myXML:XML = new XML();
myXML.onLoad = init;
myXML.load("t.xml");



Q.1 : Why it is not relate to "male" but the "movie\movie_1128415346.jpg" ?
Q.2 : If i just want to load the image ? how can i do correctly in this case?
Q.3 : Why the message undefined to display if i type
" y=myXML.firstChild.firstChild.nodeValue " ?


Thank you all for answering.............please!