You are not logged in.

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

1

Saturday, April 16th 2011, 7:10pm

escape keyboard key to exit fullscreen ?

Hi,

Is there a code to get the exit fullscreen also via the escape keybord key ?

As you've got on you tube for example.

Does anybody has ever tested this ?

Thanks. *smile*
Steph.
Steph

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Sunday, April 17th 2011, 12:23am

keycode="27"

*g*

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<events onkeydown="checkkey();" />

<action name="checkkey">
  trace('keycode=', keycode);
  if(keycode == 27, action(tuur));
  
  
</action>

	
	
	
	
<action name="tuur">
    	lookat(270,0,50);
	   	
	    
		</action>



is that what u mean?

set logkey true to see the keycodes

hope it helps

http://www.krpano.com/forum/wbb/index.ph…drums#post11444

Tuur *thumbsup*

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

3

Sunday, April 17th 2011, 3:16pm

Hi Tuur,

Thanks for your suggestion. But it's more like :

Source code

1
keycodesexitfullscreen="27"

But it's not working. *cry*
Any help would be pleased.

I've checked the thread you quoted, it's amazing.! *thumbsup*

Thanks.
Steph
Steph

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

4

Sunday, April 17th 2011, 3:37pm

well on my computers the escape button is by standard the way to exit fullscreen..
No code needed..

Tuur *thumbsup*

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

5

Sunday, April 17th 2011, 3:46pm

It must be on mine too. But it's not. Gonna check with friends on theirs.
Anyway, it must be possible to set this button in the "control" paragraph.
If anyone know, thanks.

Thanks Tuur. *smile*
Steph.
Steph

6

Sunday, April 17th 2011, 7:17pm

Hi,

the "press ESC to exit fullscreen" message and the ESC key to exit is an integrated default behavior of the Flashplayer, and that can't be changed,

when it doesn't happen something with the Flashplayer itself must be wrong...

best regards,
Klaus

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

7

Sunday, April 17th 2011, 7:24pm

Thanks Klaus. That's it. *thumbup*

Sorry to ask you this, but if you can have a look to this thread, i really need help :Own preloader May be you can lead me to a post who could help me.
Thanks Klaus. *smile*

Steph
Steph