Sie sind nicht angemeldet.

1

Freitag, 16. März 2012, 19:18

textfield plugin or hotspot rotate?

Hi, I´m trying to have a vertical text, but whether I use a plugin or a hotspot it seems impossible:

<hotspot name="mt_1" ath="0.0" atv="0.0" url="plugins/textfield.swf" style="mountains" html="[p]text1[/p]" rotate="0" />

everything is ok, until i change the rotation to whatever different than zero - otherwise the text will disappear :(
Best regards,
Igor Socha

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »igor.socha« (16. März 2012, 19:56)


2

Freitag, 16. März 2012, 20:12

... + to do this with images do not help me, I need real text
thanx
Best regards,
Igor Socha

3

Samstag, 17. März 2012, 12:02

Hi,

i tried to find a way to do this but for some reason it allows to rotate only 0.37. After that text disappears. It's not about not having enough space around to turn, guess it's limitation of textfield?

Fast way to use text to go vertically is to put space between every letter, like this:


<data name="text">
<p>
t
<br />

e
<br />

x
<br />

t
</p>
</data>

Regards,
Jesse Passoja
Passoja design
www.passojadesign.com

4

Samstag, 17. März 2012, 12:40

Jesse, I´ve already thought about this, it would be ok providing I would have not so much of texts :))
Still, thanx for your input & time!

Hi,
Fast way to use text to go vertically is to put space between every letter, like this:


<data name="text">
<p>
t
<br />

e
<br />

x
<br />

t
</p>
</data>

Regards,
Best regards,
Igor Socha

5

Montag, 19. März 2012, 19:45

Hi,
everything is ok, until i change the rotation to whatever different than zero - otherwise the text will disappear :(
this is unfortunately a Flashplayer limitation - rotating texts are not possible...

best regards,
Klaus

Hellkeeper

Fortgeschrittener

Beiträge: 164

Wohnort: St. Johann in Tirol

  • Nachricht senden

6

Donnerstag, 18. Juli 2013, 15:53

Hi,

guess one year after this posting - it's still not possible to rotate text?

Andreas
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at

7

Mittwoch, 24. Juli 2013, 20:55

it's still not possible to rotate text?
The reason therefore is a Flashplayer limitation.

The only theoretical possible workaround would be rendering the text first into a bitmap and then rotating the bitmap, but this would result in ugly text rendering quality...

Best regards,
Klaus

8

Donnerstag, 19. März 2015, 12:42

Hi,
I've solved this with JS

Add to html this function:

Quellcode

1
2
3
4
5
6
7
8
<script>
function addRText(par,txt) {
	var rt = document.createElement('div');
    	rt.style.cssText = 'position:absolute; right:-20px; bottom:40px; width:auto; height:20px; background-color:transparent; color:#000000; font-family: "Arial", Tahoma, sans-serif; font-size: 14px; text-shadow: 1px 3px 2px rgba(150, 150, 150, 1); -ms-transform:rotate(-90deg); -webkit-transform:rotate(-90deg); transform:rotate(-90deg);';
    	rt.innerHTML=txt;
	document.getElementById(par).appendChild(rt);
};
</script>

par - the div id with krpano; txt - your text;
Then call this function on event, for instance onxmlcomplete.

Quellcode

1
<events name="addTextEvent" keep="true" onxmlcomplete="js( addRText('pano','Here is my rotated text') )">

Depending of the text you will need to fix right and bottom values.

Best!

panomaster

Fortgeschrittener

Beiträge: 297

Wohnort: Kobyłka, Poland

Beruf: Virtual Tours - Spherical Panoramas - Krpano developer

  • Nachricht senden

9

Donnerstag, 19. März 2015, 20:34

Rotating textfields is also possible in HTML5 version.

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

10

Donnerstag, 19. März 2015, 23:37

Krpano flash supports html overlays with the correct wmode. Can we get !! A textfield html5 version for use with flash!?! Then we can use google fonts and all sorts of cool shit! *g*

Maybe the interactivity would go nuts, since typically when there's an overlay it must be closed to allow interaction with flash. *blink*
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour