Sie sind nicht angemeldet.

1

Montag, 27. April 2009, 20:08

Simple text on screen...

Hello.
Im looking for writing a simple text in the screen, all the time, to describe the panorama loaded.
How can I do it?
Thank you.

Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

2

Montag, 27. April 2009, 21:17

This is possible through html or normal text, and the textfield plugin: http://krpano.com/plugins/textfield/
You add it like a normal hotspot.

3

Mittwoch, 29. April 2009, 13:42

I'm calling the panorama on a external xml for every panorama.
I want to write a different text on screen to describe every panorama when I click on the hotspot of the next panorama.

Tourvista

Fortgeschrittener

Beiträge: 260

Wohnort: Leicester UK

  • Nachricht senden

4

Mittwoch, 29. April 2009, 19:07

are you looking for somethig like this?

example

Insert this code in your external xml file

Quellcode

1
2
3
4
<data name="mytextl">
<p>This is a text sample</p>
</data>
<plugin name="info_text" url="add a path to textfield.swf" html="data:mytextl" css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }" keep="true" children="false" visible="false" width="400" height="300" backgroundcolor="0x000000" roundedge="5" shadow="1" borderwidth="0" glow="4" align="center" x="0" y="0" autosize="center" onloaded="action(show_info_text);" onclick="action(hide_info_text);"/> 


You can modify the rectangle apparience.
Copy and paste the same code in other external xml and modify the "data name" content to display a different text.

5

Dienstag, 4. August 2009, 19:23

are you looking for somethig like this?

example

Insert this code in your external xml file

Quellcode

1
2
3
4
<data name="mytextl">
<p>This is a text sample</p>
</data>
<plugin name="info_text" url="add a path to textfield.swf" html="data:mytextl" css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }" keep="true" children="false" visible="false" width="400" height="300" backgroundcolor="0x000000" roundedge="5" shadow="1" borderwidth="0" glow="4" align="center" x="0" y="0" autosize="center" onloaded="action(show_info_text);" onclick="action(hide_info_text);"/> 


You can modify the rectangle apparience.
Copy and paste the same code in other external xml and modify the "data name" content to display a different text.[/quot


I dont get it can you enable your editor in your example

Tourvista

Fortgeschrittener

Beiträge: 260

Wohnort: Leicester UK

  • Nachricht senden

6

Mittwoch, 5. August 2009, 10:38

Sorry, it is not my example. It is Klaus' example.

Cheers

7

Mittwoch, 5. August 2009, 10:53

Klaus do you have an example folder that I can download for this link http://krpano.com/108beta/flash10_example.html

thanks

8

Mittwoch, 12. August 2009, 11:52

Klaus do you have an example folder that I can download for this link http://krpano.com/108beta/flash10_example.html
Hi,

currently not, but you could download the xml here:
http://krpano.com/108beta/flash10_example.xml

best regards,
Klaus

Ähnliche Themen