The Virtual Tour Editor Plugin is a special plugin for local/offline editing of virtual tours that were made with the MAKE VTOUR droplets.
The plugin loads the original tour.xml file and modifies it.
Only the <view> element and the <hotspot> elements in current <scene>
element will be modified by the plugin functions, all other xml code in the tour.xml will be kept unchanged.
The plugin allows to set the startup view for each scene - just pan/zoom to the view and press the appropriate button.
Hotspots can be added, moved or deleted. When adding hotspots, the tour skin needs to provide a skin_hotspotstyle style
for the new hotspot. The assigned scene of the hotspot will be stored as linkedscene attribute of the <hotspot> element.
The skin_hotspotstyle style should use it and load the correct scene with it.
A simple xml editor for modifying simple things like the tour / pano titles or changing some settings in the tour.xml is also included.
All changes will work immediately, the tour can be browsed with the applied changes.
For saving the modified tour.xml the Flashplayer File API will be used.
This allows to save and overwrite the original tour.xml file by using the system save-as dialog.
The MAKE VTOUR droplets are also creating a tour_editor.html by default - this file loads the original tour and dynamically
adds the Virtual Tour Editor Plugin. When the editing is done, this file and the vtoureditor.swf can be removed.