Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XML within XML and Flash problem XML within XML and Flash problemTo: NULL Date: 10/4/2006 2:00:00 AM Hi All, I have a SWF flash document (book.swf) that references a config.xml file. Within the config.xml file the following is written: <pages> <page> page01.jpg </page> <page> page02.jpg </page> <page> page02.jpg</page> <page> page03.jpg</page> <page> page04.jpg</page> <page> page05.jpg</page> </pages> When I run the flash document (book.swf), image page01.jpg is displayed for page 1 and image page02.jpg for page 2 etc.. Instead I would like to display a unique xml file page1.xml, page2.xml for the various pages. I am hoping to create a template.swf file, which amends the text positioning for the custom xml files similar to a style sheet. I'm wanting to change the config.xml file so that it can display different xml pages through the same template.swf file. Kind of like below: (except I don't know XML enough to programme it) <pages> <page> template.swf ? page1.xml </page> <page> template.swf ? page2.xml </page> <page> template.swf? page3.xml </page> <page> template.swf? page4.xml </page> <page> template.swf? page5.xml </page> <page> template.swf? page6.xml </page> </pages> So when book.swf is run, it will reference the config.xml file, and see that for page1 it will get template.swf displaying page1.xml and so on. Can this be done? Many thanks, Lance | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
