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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML data persistence in Flash

Status
Not open for further replies.

msteggo

Programmer
Oct 27, 2000
52
US
I've seen many examples of the use of the xml object in flash..and most of the processing seems to be done in the onLoad function. What i am trying to do is load an xml file, then dump the info into high level variables. Is there an easy way to do this? One thing i noticed is after i load an xml file into an xml object, i cannot do anything with the object...is the only spot to grab the info in the onLoad function? And i also cannot modify any root vars in this function...Scope issues? Also, are there any performance or other issues involved in using xml objects, as opposed to the loadvars object?
 
using loadvars you can load the xml object as an object and then access its properties through the loadvars object. root varaiables can then be set through object.properties.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top