Thread: XML Output
View Single Post
  #2 (permalink)  
Old 12-12-2004, 02:06 PM
mtheory's Avatar
mtheory mtheory is offline
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Connecticut, US
Posts: 603
mtheory RepRank 2
Default

If the number is being put into the field manually then why not use a simple text file to hold the information.

Create a file books.txt

fiction=233&
&nonfiction=143&

Then create dynamyc fields in your Flash movie with variable assignments of fiction and nonfiction.

Flash action script in first fram of movie would be:

loadVariables ("books.txt","");

I would only use the XML option in a case where the actual titles and information were in the XML file and you got the number by counting the children contained in a particular node(ie: fiction).

You would then be able to retrieve information about each title from the XML file.
Reply With Quote