You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, April 27th 2009, 8:08pm

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

Professional

Posts: 969

Location: Netherlands

Occupation: Web developer

  • Send private message

2

Monday, April 27th 2009, 9:17pm

This is possible through html or normal text, and the textfield plugin: http://krpano.com/plugins/textfield/
You add it like a normal hotspot.
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

3

Wednesday, April 29th 2009, 1:42pm

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

Intermediate

Posts: 202

Location: Leicester UK

  • Send private message

4

Wednesday, April 29th 2009, 7:07pm

are you looking for somethig like this?

example

Insert this code in your external xml file

Source code

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

Tuesday, August 4th 2009, 7:23pm

are you looking for somethig like this?

example

Insert this code in your external xml file

Source code

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

Intermediate

Posts: 202

Location: Leicester UK

  • Send private message

6

Wednesday, August 5th 2009, 10:38am

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

Cheers

7

Wednesday, August 5th 2009, 10:53am

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

thanks

8

Wednesday, August 12th 2009, 11:52am

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