BluesmanUK
Programmer
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
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