Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get text out of a XML file and put it into flash?

Status
Not open for further replies.

C0FFEE123

Programmer
Sep 1, 2008
44
NL
How can i get text out of a XML file and put it into flash?
I know how it works with pictures only not with text. :S
I want to insert this code into flash.

Code:
Code:
<?xml version="1.0"?>
<Informatie>
  <Auto>
    <Auto>Toyota</Auto>
    <Shortd>Testje</Shortd>
    <Longd>Testje</Longd>
    <Prijs>4543</Prijs>
  </Auto>
</Informatie>


-------------------------------------
I am a progammer.... no realy.
 
Alright that worked thanks!

Only, next step :p

I now want to have more information in the xml. (already have that).
And i want to show it in several Textfields now.
How?

Code:
<?xml version="1.0"?>
<Informatie>
  <Auto>
    <Auto>Toyota</Auto>
    <Shortd>Testje</Shortd>
    <Longd>Testje</Longd>
    <Prijs>4543</Prijs>
  </Auto>
  <Auto>
    <Auto>Citroen</Auto>
    <Shortd>Test</Shortd>
    <Longd>Test</Longd>
    <Prijs>4534</Prijs>
  </Auto>
</Informatie>

-------------------------------------
I am a progammer.... no realy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top