Sie sind nicht angemeldet.

1

Donnerstag, 8. Oktober 2009, 20:35

Possible to ZOOM text?

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!

2

Samstag, 10. Oktober 2009, 23:12

Hi narad13,

Zitat

zoom="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:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<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>

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.

3

Montag, 12. Oktober 2009, 03:38

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!

Ähnliche Themen