
Welcome Guest
|
#1
|
|||
|
|||
|
I have an xml document structure that I need to navigate and extract data from to populate a flash movie, the sctructure is a bit like this
<mainone><one>hello</one><two>helloagain</two></mainone><maintwo><one>hello</one><two>helloagain</two></maintwo> I need to know how to get to the <maintwo> tags. I have the script to extract the first word "hello": parse_one1=myDoc.firstChild; _root.navlist.navlist.one1=parse_one1.firstChild.f irstChild.nodeValue; and the second word "helloagain" parse_one2=myDoc.firstChild; _root.navlist.navlist.one2=parse_one1.firstChild.n extSibling.firstChild.nodeValue; so I wan't to jump to the next main tag? hope someone knows Cheers Nevil Slade http://www.theory7.com |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| general question about xml menu architecture | fhickler | Flash CS3 / Flash 9 |
13 | 01-29-2009 10:04 PM |
| Getting the nodename in a tree component as output? | Jakobben | Actionscript 2.0 |
0 | 10-14-2008 06:22 AM |
| xml Tree Menu | samprakash | Flash 8 |
0 | 07-19-2007 04:06 PM |
| XML chaos | six | Actionscript 2.0 Components |
0 | 08-10-2005 03:49 PM |
| change tree icons | cpigg | Flash MX 2004 |
0 | 05-12-2005 10:32 PM |

Other Programming



