Arrrrgh! The Nav bar isn’t showing!!! And why are the xml buttons of this navbar displaying the NEXT buttons info instead of the correct one? And can anyone tell me if I can include pics or links in the display text? I’m enclosing the .xml file just in case someone can help me … Thanks!
The problem isn’t with your .xml file, it is with the way it is being parsed in your .swf file, so that means it is something wrong in the .fla file.
[edit]and no, you cannot add images into a textfield, you dynamically load non-progressive .jpg images to a level or to an empty movie clip, but not in a textfield[/edit]
Ok … It’s still hebrew to me as far as the actual error is concerned …Is there a way for me to send you my .fla file (since it’s apparently too big to post here?)
Sorry for taking so long to get back to you flobair, I was on vacation.
I found the answer to your problem though
In your sublink button within your on (press) handler you have this line… [AS]strContent = _root.mainTag.childNodes[_root.txt_btnClicked].childNodes[btnID].firstChild.nodeValue;[/AS]
Change that to this…
[AS]strContent = _root.mainTag.childNodes[_root.txt_btnClicked].childNodes[btnID+1].firstChild.nodeValue;[/AS]
Works like a charm =) (figured if you were one node off, might as well jump up a node)
[edit]
Oh yeah, and “add” is deprecated syntax. Now you can use the + symbol for words as well as numbers
no more _root[“navbar” add i], instead it would be _root[“navbar”+i]
Can I just ask you one last question: how can I add links in the .xml doc so that when one clicks on COLLECTIONS, for example, and the GLASS, they have the opportunity to click on various links inside that sublink button’s text?
Ok …so drop forget the idea. But do you know why when I debug the film, I have all of these level_10 issues that come up - which oddly also come up at ON SCREEN itself where the word ‘contents’ is written?