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

Actionscript class strucure + loading multiple XML files

Status
Not open for further replies.

BluesmanUK

Programmer
Dec 17, 2001
55
GB
Hi all,
I'm writing a flash application and i'm a bit of a beginner with OOP flash dev - so i've run into a bit of a design problem.

I need to load several different XML files for my program (eg a layout xml file, a content xml, a configuration xml file etc.)

Currently i have each class that needs to use xml data, separately loading and processing the xml, storing the data in properties , or having xml data passed to them via public methods.

Its getting pretty messy so I thought there must be a simpler way of doing it - i thought about having a separate "XML loader" class to handle it all but I wasnt sure how to implement it, as each xml file needs to be processed and stored differently.

Any suggestions?

Cheers,
James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top