Reading Hotspot Tittle from external files
Hi, i just cant find a topic where is solved how to read hotspot tittles from external files. Is that possible ? My customers wants to have a customable file/files where he would be able to edit hotspot titles external from some txt or xml file. Thx for answers
- Hopki
- Gnome
- Posts: 13005
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
A couple of thoughts on this.
It is possible to edit the XML from the HTML5 output the same for flash if you externalise the skin, it puts the XML data in the HTML page so with a basic text editor you can go in and change things around.
If you did not want them messing around with the panos xml files then as an idea use png files for your text. Place them in a folder and in the skin use an external loader to call them.
Then as long as you have a constant naming convention like text_01.png, text_02.png etc your customer can just make a new one using a free image program such as Gimp and replace the image in the folder. The external loader will not worry just as long as the png has the same file name and dimensions.
Regards,
Hopki
A couple of thoughts on this.
It is possible to edit the XML from the HTML5 output the same for flash if you externalise the skin, it puts the XML data in the HTML page so with a basic text editor you can go in and change things around.
If you did not want them messing around with the panos xml files then as an idea use png files for your text. Place them in a folder and in the skin use an external loader to call them.
Then as long as you have a constant naming convention like text_01.png, text_02.png etc your customer can just make a new one using a free image program such as Gimp and replace the image in the folder. The external loader will not worry just as long as the png has the same file name and dimensions.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/