You are not logged in.

Ukrajinec

Beginner

  • "Ukrajinec" started this thread

Posts: 33

Location: Ukraine, Lviv

  • Send private message

1

Thursday, December 27th 2012, 4:25pm

Question about <include/> (SOLVED)

The map is described at map.xml, which is located at http://xxx/resources/tmp/map/it-it/map.xml
How to include this file to the main tour?
Notes as:

Quoted


<include url="http://xxx/resources/tmp/map/it-it/map.xml"/>

<include url="xxx/resources/tmp/map/it-it/map.xml"/>

<include url="%SWFPATH%http://xxx/resources/tmp/map/it-it/map.xml"/>

<include url="%SWFPATH%/lxxx/resources/tmp/map/it-it/map.xml"/>
<include url="%SWFPATH%http://xxx/resources/tmp/map/it-it/map.xml"/>
not works.
Help please *sad*
With regards, Igor.

This post has been edited 1 times, last edit by "Ukrajinec" (Jan 8th 2013, 12:57pm)


2

Friday, December 28th 2012, 11:17am

Hi,

if your tour.xml for example lies in "http://www.whatever.com/example_tour/tour.xml" and the map.xml is in the same directory, then the include-line should look like this:
<include url="%CURRENTXML%/map.xml" />

If the map lies for example in "http://www.whatever.com/example_tour/maps/map.xml", the include-line should look like this:
<include url="%CURRENTXML%/maps/map.xml" />

The %CURRENTXML% refers to the directory where the tour.xml lies.

Best regards
Nupsi

Ukrajinec

Beginner

  • "Ukrajinec" started this thread

Posts: 33

Location: Ukraine, Lviv

  • Send private message

3

Tuesday, January 8th 2013, 12:57pm

Thanks, Nupsi. *smile*
With regards, Igor.

Similar threads