Home -> VRSmarty plugins page -> textarea.swf
This plugin is completely free for use in any context or connection.
textarea.swf
VRSmarty hotspot plugin for showing a text area with optional scrollbars.
The content is loaded from a text file.
The text, as well as most visual attributes, can be changed at any time.

The following parameters are supported:

In VRSmarty xml file:

textFiletextFile="..."read text content from file
 
size size="275:400"
size="250:35%"
size (width:height) of text area
width and/or height can also be set as a percentage of pano width/height
scrollBar scrollBar="auto"
scrollBar="off:auto"
scrollbars, auto:when needed(default), on:always on, off:always off
can also be specified separately for horizontal:vertical
borderColorborderColor="#0000FF"border color, default no border
bgColorbgColor="#CCCCFF"background color, default transparent
wordWrapwordWrap="true"default false, use with size, see NOTES
selectableselectable="true"makes the text selectable
 
fontfont="Garamond"font name, default "Arial"
sizesize="11"font size, default 10
textColortextColor="#0000FF"font color, default "#000000"
boldbold="true"default false
italicitalic="true"default false
underlineunderline="true"default false
marginmargin="10"left and right margins width, default 0
textAligntextAlign="center""left", "right", "center" or "justify", default "left"
leadingleading="5"extra line height, default=0


All attributes can be changed at any time with a VRSmarty command: "spot_id.content.name=value;".



Example text spot:

   <spot id="myText" url="../plugins/textarea.swf" layerType="pano" type="static" staticAlign="TR" align="TR" staticX="10" staticY="10"
      alpha="0.7" visible="1" mouseChildren="1" blockMouse="1" disableKeys="0" disableControls="0" useHandCursor="0"
      onOver="tween.to(this, 0.7, {alpha:1})" onOut="tween.to(this, 1.5, {alpha:0.7; delay:1})" 
      size="500:400" 
      font="Courier New" textSize="12" textColor="#444444" bold="0" bgColor="#FFFFF0" borderColor="#000000" 
      margin="10" autoSize="left" scrollBar="auto" charset="iso-8859-1" selectable="0"
      textFile="picslide.xml"
   />
					



Version history: