You are not logged in.

  • "alainvanhaecke" started this thread

Posts: 4

Location: Brussels

Occupation: Photographer

  • Send private message

1

Saturday, July 10th 2010, 1:03am

button : auto hide with delayedcall ?

hi, is there a way to auto hide the button bar after some times the mouse didn't move ?

this is my incomplete code :

<style name="button" url="%SWFPATH%/skin/buttons2.png" scale="1.0" keep="true" alpha="0.0" onloaded="delayedcall(0.5, tween(alpha,1.0,1.0); );" />

thanks a lot

2

Tuesday, July 13th 2010, 4:23pm

Hi,

there is an "idle" event which could be used,

e.g.

Source code

1
2
3
4
5
<krpano ... idletime="2.0">

<events onidle="showlog(); trace('there was no user interaction since ', idletime, ' seconds ');" />

...


best regards,
Klaus