I am using textfield as a hotspot and would like it to zoom. Is this possible?
zoom="true" does not seem to work....
Thanks in advance!
I am using textfield as a hotspot and would like it to zoom. Is this possible?
zoom="true" does not seem to work....
Thanks in advance!
Hi narad13,
Zitatzoom="true" does not seem to work....
I have tried this and, as you say, it does not seem to work...
Perhaps you can try using distorted hotspot... I have made some tries and the zoom works but, at least for me, it is difficult to place correctly the text in the place you want...
Here an example:
<krpano version="1.0.7">
<!-- use the editor for moving,rotating,scaling hotspots -->
<plugin name="editor" url="../../plugins/editor.swf" />
<plugin name="options" url="../../plugins/options.swf" />
<view fisheyefovlink="1.5" />
<preview type="grid(cube,32,32,256,0x000000,0x778899,0x000000);" details="8" />
<data name="buttontext">
<p align="center">
<font face="arial" size="+4">
<b><i>HTML TEXT FOR TEXTFIELD</i></b>
</font>
</p>
</data>
<hotspot name="button" url="%SWFPATH%/plugins/textfield.swf"
zoom="" ath="0" atv="0" distorted="true"
handcursor="false" capture="false"
width="450" height="450"
edge="top" ox="0" oy="0"
html="data:buttontext"
background="false"
textglow="4"
textglowcolor="0xFFFFFF"
textshadow="3"
autosize="none"
onclick=""
/>
</krpano>
Alles anzeigen
note: the width="x" height="y" must be square.... if not, the text inside the textfield loses his aspect ratio...
I think it would be better, to make your hotspots text, the use png pictures or swf files instead of using the textfield plugin... Perhaps I am wrong...
Salut.
Michel,
Thanks very much for your suggestions. I may try this out when I get back to the office.
You might be right that a .PNG or .SWF might be better. This is what I am doing right now, and it works, but it tends to look a bit fuzzy when you get in close to it due to the compression. I was thinking that if I could get text to scale properly it would retain it's sharpness at all zoom levels.
But maybe it wasn't' meant to be...
Thanks!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!