Thanks very much Piotr and Klaus, i see my error with "(get..." but it no works yet:
If this works fine:
loadpano(html/
hosp_hlibre/tour.xml,null,MERGE|REMOVESCENES,null);
loadscene(get(scene[0].name));
Why this not?
loadpano(calc('html/'+
data[1].content+'/tour.xml'),null,MERGE|REMOVESCENES,null);
data[1].content was created from:
|
Source code
|
1
|
<action name="crealistalugares">for(set(i,0), i LT hotspot.count, inc(i), if(hotspot[get(i)].grupo == lugares,set(data[get(hotspot[get(i)].name)].content,get(hotspot[get(i)].name)); trace(data[get(hotspot[get(i)].name)].content););); </action>
|
The trace was ok:
INFO:
hosp_hlibre
The error is:
FATAL ERROR:
html/undefined/tour.xml loading failed! (404)

What is wrong now?
Best regards,
Fernando