PDA

View Full Version : how to load multiple xml files?


koma
02-27-2008, 01:12 PM
i'd like to load multiple xml files, like one specific for each pano and a global one for everyone.

works in the xml:


onClick="loadPano(
panoName=h_01/h_01
&zoom=0.45
&pan=0
&xml_file=h_01/h_01.xml
&xml_file=../panos/xml/global.xml)"


i tried this in the param and embed tag (flashvars) in HTML, but in that case the last xml overwrites all others.

anyone any ideas?

zleifr
02-27-2008, 02:01 PM
I don't think that is possible. If it is possible, then it is a secret feature no one knows about, and I think you just dis-proved that.

What you might look into is building the XML file dynamically with PHP or PERL or something like that. Should be pretty easy if all you are doing is welding together 2 half files.

Zephyr