Sie sind nicht angemeldet.

Tourvista

Fortgeschrittener

  • »Tourvista« ist der Autor dieses Themas

Beiträge: 260

Wohnort: Leicester UK

  • Nachricht senden

1

Mittwoch, 15. April 2009, 15:45

Text field color (or is it the opacity?) change when enter in full screen mode

This is the example: Tourvista

When enter in full screen mode (Click top right) the text color change from white to gray. It could also be the opacity but the point is that nothing should change.

This is the xml file: XML

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!--<plugin name="options" url="options.swf" />
<plugin name="editor"  url="editor.swf"  />-->
	
<!-- ***************** SCROLL PANEL ********************** -->

<plugin name="myscroll" 
        url="../myscroll.swf"
		keep="true"
		visible="true" 
		origin="centerbottom"
		zorder="10"
		/>

<plugin name="mask" 
        url="images/mask.png"
		alpha="0.3" 
		origin="leftbottom" 
		width="100%" 
		height="85" 
		visible="true" 
		zorder="-1"
		handcursor="false"
		/>
		
<!-- ***************** SHOW/HIDE  MENU ********************** -->		
		
	<data name="hide_menu">
          <p>Hide menu</p>
   </data>	
   	
   	<data name="show_menu">
          <p>Show menu</p>

   </data>		
   
   	<data name="enter_fs">
          <p>Enter full screen</p>
   </data>	
   	
   	<data name="exit_fs">
          <p>Exit full screen</p>
   </data>	
	
    <action name="hide_menu">
                 tween(plugin[mask].y, -85); 
				 tween(plugin[myscroll].y, -85);
				 tween(plugin[hide_menu_btn].y, 0);
				 tween(plugin[show_menu_btn].y, 0);
				 set(plugin[hide_menu_btn].visible, false);
				 set(plugin[show_menu_btn].visible, true);
	</action>

		
    <action name="show_menu">
                 tween(plugin[mask].y, 0); 
				 tween(plugin[myscroll].y, 0);
				 tween(plugin[hide_menu_btn].y, 85);
				 tween(plugin[show_menu_btn].y, 85);
				 set(plugin[hide_menu_btn].visible, true);
				 set(plugin[show_menu_btn].visible, false);
	</action>
		
   <plugin name="hide_menu_btn" 
           url="../krpano/textfield.swf" 
		   html="data:hide_menu" 
		   css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin:15; text-align:center; }" 
		   keep="true" 
		   children="false" 
		   visible="true" 
		   width="100" 
		   height="70" 
		   backgroundcolor="0x000000" 
		   roundedge="0" 
		   shadow="0" 
		   borderwidth="0" 
		   glow="0" 
		   origin="bottom" 
		   x="0" 
		   y="85" 
		   alpha="0.5"
		   autosize="center" 	
		   	zorder="5"	
		   onclick="action(hide_menu);"
		   />	
   <plugin name="show_menu_btn" 
           url="../krpano/textfield.swf" 
		   html="data:show_menu" 
		   css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin:15; text-align:center; }" 
		   keep="true" 
		   children="false" 
		   visible="false" 
		   width="100" 
		   height="70" 
		   backgroundcolor="0x000000" 
		   roundedge="0" 
		   shadow="0" 
		   borderwidth="0" 
		   glow="0" 
		   origin="bottom" 
		   x="0" 
		   y="85" 
		   alpha="0.5"
		   autosize="center" 	
		   zorder="5"	
		   onclick="action(show_menu);"
		   />		

<!-- ***************** SHOW/HIDE  FULL SCREEN ********************** -->

   <plugin name="openfs" 
           url="../krpano/textfield.swf" 
		   html="data:enter_fs" 
		   css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin:15; text-align:center; }" 
		   keep="true" 
		   children="false" 
		   visible="true" 
		   width="140" 
		   height="70" 
		   backgroundcolor="0x000000" 
		   roundedge="0" 
		   shadow="0" 
		   borderwidth="0" 
		   glow="0" 
		   origin="righttop" 
		   x="0" 
		   y="0" 
		   alpha="0.5"
		   autosize="center" 	
		   zorder="5"	
		   onclick="set(fullscreen, true);"
		   />	
   <plugin name="closefs" 
           url="../krpano/textfield.swf" 
		   html="data:exit_fs" 
		   css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin:15; text-align:center; }" 
		   keep="true" 
		   children="false" 
		   visible="false" 
		   width="140" 
		   height="70" 
		   backgroundcolor="0x000000" 
		   roundedge="0" 
		   shadow="0" 
		   borderwidth="0" 
		   glow="0" 
		   origin="righttop" 
		   x="0" 
		   y="0" 
		   alpha="0.5"
		   autosize="center" 	
		   zorder="5"	
		   onclick="set(fullscreen, false);"
		   />

<events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);"
        onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"
        />


Any ideas? Thanks in advance

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

2

Donnerstag, 16. April 2009, 05:53

I'm not seeing in differences.

So... either you've fixed what ailed you... or your imagining things *rolleyes*

just kidding... about the imagining things.

Maybe point out specifically what is changing colors on you and we'll see if it does for us as well.

The only other constructive possibility would be this...
- you go from small (relative) pano area to a LARGE fullscreen view... what looks white in one area of your monitor may start to look gray when it's in a different part of your monitor due to viewing angle / screen tilt / etc...

Graydon

Tourvista

Fortgeschrittener

  • »Tourvista« ist der Autor dieses Themas

Beiträge: 260

Wohnort: Leicester UK

  • Nachricht senden

3

Donnerstag, 16. April 2009, 11:50

*blink*

It fixed itself!

Anyway thanks for the help Graydon.

Cheers

4

Donnerstag, 16. April 2009, 22:53

Hi,

this is a common bug of the flashplayer:

in the most cases the "alpha" value is not applied to texts elements!
but it seems the does it in fullscreen mode!

you can solve this by using the textfield plugin from the 1.0.8 beta version,
this plugin version has a "backgroundalpha" attribute to change only the alpha
of the background, then the alpha of the text will never be effected!

best regards,
Klaus

Tourvista

Fortgeschrittener

  • »Tourvista« ist der Autor dieses Themas

Beiträge: 260

Wohnort: Leicester UK

  • Nachricht senden

5

Donnerstag, 16. April 2009, 23:50

Thanks for the reply.
After I replied the problem appeared again so I was really confused. Now everything makes sense.

Thank you very much for KRpano and all your hard work. You are doing a great great job!