This content has been marked as final. Show 9 replies
whats your code to load the xml?
The XML node you posted has two tags; photo and image. title, main, thumb are XML attributes. Perhaps you are calling a nodeValue when you should be calling an attribute.
Anyways showing some code would help.
Thanks for the replies....sorry for being vauge, im still trying to get to grips with xml and flash...im fine with the basics but im trying to push myself with it....
The text field i am having trouble with is "extText_txt.text = this.description;" It should load the description tag from the xml.....what am i doing wrong?
Thanks for the help though....
Here is the code (below) .
this.description is never defined. You defined title and main correctly. So now you just need to add a property to ThumbHolder like below;
this.thumbHolder.description = this.picHolder.attributes.description;
Thanks for your help, but i still cant get it to work, this is so frustrating.....I tried what you suggested....any other ideas?
In the onRelease event handler put the following trace statement;
What does that return? Also does extText_txt resides in the thumbHolder movieclip? It should.
myIP, thank you so much for your help.....
In the trace output i get the description from the xml file which is great....which means its reading the xml file.....my last problem is creating the textfield inside the thumbHolder mc. I cant seem to do this properly now....my head is falling apart with this thing!!
I have this but it wont work....sorry for the constant questions, i guess you know what its like to be totally swamped by a flash project!!
Thanks myIP...alls working fine now (well, this section of it at least)...
"i guess you know what its like to be totally swamped by a flash project!!"
Unfortunately I do.
I am glad to hear that you got that section working.