Sie sind nicht angemeldet.

1

Freitag, 26. August 2011, 15:10

newbe questions, need help!

I rea everything looked promising in this thread that seemed will be helpful, but I am completely clueless!! *confused*

Can some krpano guru archive example with everything need to make text filed work & upload here so I can try to understand how it works? I tried to download example from textfield plugin page but after downloading all the component and putting them into proper directory (as intended), when open the the html, all I get is black page!!

Please help.

TIA

2

Dienstag, 30. August 2011, 08:19

Hey yoshiharra!

Here is a simple textfield code:

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
<plugin name="textfield" url="textfield.swf"
parent=""
handcursor="false"
keep="true"
zorder="11"
	width="370" height="300"
	align="center"
	edge="center"
	x="0"
	y="0"
	background="true"
	onclick=""
	onout=""
	html="data:1"
	borderwidth="0"
	selectable="true"
	css=""
	autosize=""
	/> 

<data name="1">

<p><font face="times" size="+4">
THIS IS TITLE!
<br /> <br />
text comes here
</font>
</p>
</data>



In here the plugin "textfield" is the textfield. As you see "html="data:1" which means it takes the input text from "data name="1" " Change the url ofthe textfield.swf correctly to yours and your set. You can also change the plugins background to alpha to have transparent background :)

Hope this helps you :)

Regards,

Jesse Passoja
Nelike Imager
www.inelike.fi
One page portfolio: http://inelike.fi/aiheeton/latest-panoramas/</plugin>
Jesse Passoja
Passoja design
www.passojadesign.com

3

Dienstag, 11. Oktober 2011, 20:19

Hi Nelike imagery

Thanks for your help, I'll try that :)

I was away, could not login for a while, hence the dealy responding.

4

Dienstag, 22. November 2011, 20:34

Hi guys,

Well I'm kind of confused but now find this posts helpful.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »manigordo« (22. November 2011, 23:12)


5

Mittwoch, 28. Dezember 2011, 14:09

Hi Nelike imagery

Thanks for your help, it works! *g*

Now I have to figure out how to make it disapear after few second, background transparency, how to change text for every scene in a VR tour, etc. Can you point me to right direction?

Thanks in advance.

6

Montag, 2. Januar 2012, 12:11

Ok great, i wrote you full reply and somehow it haven't post it. I sum up.

For transparency:


<plugin name="textfield"
background="false"

Then changing the data in every scene, check my reply here:
Text field changes acordding to scene

How to make it disappear after few seconds, fastest way i can think of is to creata an action and put it onstart. Like this:

<krpano version="1.0.8.14" onstart="action(disappear);">

<action name="disappear">
wait(5);
tween(plugin[textfield].alpha,0,0.5,easeInQuad);
set(plugin[textfield].visible,false);
</action>

This action will first wait 5 seconds, then tween textfields alpha to 0 and make it invisible. If you just tween alpha="0", the plugin will remain there but transparent.

There are better way to do these for sure but there are at least some reference how it can be done :) Hope it helps!

Regards,
Jesse Passoja
Passoja design
www.passojadesign.com

7

Montag, 2. Januar 2012, 22:43

Hi Jesse

Thanks for your patience and help *g*