Hi All
For several years I have been using the textfield plugin to display some text in the bottom left corner of my virtual tours - http://www.trekwireless.co.uk/lalitlondon
I would like to move away from textfield.swf and use a 'pure' html5 based plugin. Here is the code I'm currently using:
!-- script for displaying scene name in corner -->
<plugin name="titletext"
url="../plugins/textfield.swf"
keep="true"
align="bottomleft"
x="10" y="30"
autosize="right"
wordwrap="true"
background="false"
zorder="-1"
children="true"
html="TEST"
css="p{color:#0x415000; font-family:argos; font:argos; font-style: regular; font-size:60;text-align:right; }"
effect="dropshadow(4,45,0x0x415000,4,1);"
/>
<action name="showname">
set(scenetitle1,get(scene[get(xml.scene)].title));
if(scenetitle1 == null, set(scenetitle1,get(scenetitle)));
txtadd(plugin[titletext].html,[p],get(scenetitle1),[p]);
</action>
Then at the start of each scene I simply call the 'showname' function...
<scene name="pano99" title="Meeting Rooms" onstart="showname();
So I get Meeting Rooms displayed in the bottom left corner of the current pano.
Could someone give me an example of doing the same thing but not using textfield.swf
Many thanks
Tim