• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 19. Using XML with Flash > Task: XML-Powered Display

Task: XML-Powered Display

Let's read an external HTML file and use it to populate a set of text fields. The XML data will look like this:

<list>
    <user>
        <name>
            <last>Doe</last>
            <first>John</first>
        </name>

        <ssnumber>000-00-0000</ssnumber>

        <address>
            <street>123 Street Road.</street>
            <city>Metropolis</city>
            <state>New York</state>
            <zip>12345</zip>
        </address>

        <phone>
            <work>212-555-1212</work>
            <home>212-555-0000</home>
        </phone>

        <email>test@test.com</email>

        <dateofbirth>10/29/1969</dateofbirth>

        <emergencycontact relation="Wife">Jane Doe</emergencycontact>
    </user>
</list>


					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint