You are not logged in.

1

Thursday, May 30th 2013, 2:57pm

"donecall" loadpano

I need to call an action in the end to load each scene. Which event to use?

It would be a kind of "donecall" existing function lookto. This function will hide a layer.

Thanks and regards,

2

Saturday, June 1st 2013, 10:56pm

not exist?

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

3

Saturday, June 1st 2013, 11:17pm

what you want to achieve? Loading each scene of hiding layer? Anyway I think there is no event for that but you define your own actions and call them when you need them ;)

4

Saturday, June 1st 2013, 11:42pm

That's right! need to hide a layer when the scene is fully loaded.

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

5

Saturday, June 1st 2013, 11:47pm

have you tried with http://krpano.com/docu/xml/#events.onloadcomplete
E.g.

Source code

1
<events onloadcomplete="set(layer[your_layer].visible,false);"/> 

6

Sunday, June 2nd 2013, 12:55am

Thanks for the help, you showed me the way. From there I found that the events may be local to each scene.

I decided to put the event into the scene:


Source code

1
2
3
<scene>	
          <events name="close" onloadcomplete="event_close();" />
</scene>


Best regards,