Home -> VRSmarty plugins page -> texts.swf
This plugin is completely free for use in any context or connection.
texts.swf
If you are using one or several textbox plugins in your pano, you can use this plugin to handle numbered text strings. To change the displayed text, you only have to set the text attribute to a new number: spot_id.content.text='#8'. This can make it a bit easier if you are handling different languages for example.
The following parameters are supported:
filefile=files/mytexts.txtname of file containing the text strings, default is "panotexts.txt"
separatorseparator=|character or string used to separate the text strings, default is \n

NOTE:
The default separator for your text strings is LF (linefeed or hex 0A). Then you can have your text strings on separate lines. But you can use any other character or string as separator if you like, for example '|', or ';' or "-----".


When a textbox is using the numbered texts feature, the displayed text can be changed at any time by setting the plugin text attribute: spot_id.content.text='#13'.



Version history: