Sie sind nicht angemeldet.

Kev-in-spain

Fortgeschrittener

  • »Kev-in-spain« ist der Autor dieses Themas

Beiträge: 152

Wohnort: Barcelona

Beruf: VR Photographer

  • Nachricht senden

1

Montag, 4. Juli 2011, 14:49

breakall()

Hi all,
Can anyone tell me if breakall() should work on ipad?
I don't see it in the unsupported functionality list but it's definitely not being actioned on my pad and yet all works perfectly on my desktop and android phone.

The reason I ask if it should work when I can see that it obviously doesn't is that there is a good chance that it's down to my basic coding skills and that I haven't actually got the command in the right place.... this has been known to happen in the past!

In case it helps, here's the tour: http://www.360examples.net/demos/idevice…hotel/tour.html
At the start is a short tutorial for complete newcomers to virtual tours (there are quite a few here in Spain). During the tutorial there is an option to skip out and enter the tour. This is where the breakall() is used to stop all actions and hand over control to the user.

Thanks in advance.

Kev

new url: www.360examples.net/workinprogress/budapest/tour.html

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Kev-in-spain« (5. Juli 2011, 11:17)


2

Montag, 4. Juli 2011, 15:48

Hi,

yes, the breakall() action itself should work,
but to be sure - please try first the latest 1.0.8.14 version from here:
http://krpano.com/download/beta/

best regards,
Klaus

Kev-in-spain

Fortgeschrittener

  • »Kev-in-spain« ist der Autor dieses Themas

Beiträge: 152

Wohnort: Barcelona

Beruf: VR Photographer

  • Nachricht senden

3

Montag, 4. Juli 2011, 18:57

Thanks Klaus, I have uploaded the latest files to the tour but the ipad still ignores the breakall(). Any other ideas?
Also, is there any alternative for set(control.usercontrol,off) that will work with idevices?

Regards

Kev

4

Montag, 4. Juli 2011, 22:18

Hi,

do you have an example how and where you use the breakall()?
I'm not sure about the relation from it to the usercontrol?

best regards,
Klaus

Kev-in-spain

Fortgeschrittener

  • »Kev-in-spain« ist der Autor dieses Themas

Beiträge: 152

Wohnort: Barcelona

Beruf: VR Photographer

  • Nachricht senden

5

Dienstag, 5. Juli 2011, 11:15

Hi Klaus,
I'm not sure about the relation from it to the usercontrol?
Sorry, ignore this, it is unrelated and confuses the issue here. I'll post it up as a separate thread.

Zitat

do you have an example how and where you use the breakall()?
Here's the url (It has been moved since I started this post):
www.360examples.net/workinprogress/budapest/tour.html
Thetour opens with a short visual tutorial (started by clicking continue) and the problem occurs (only on idevices) if you try to skip the tutorial once it has started .

This is the relevant section of the xml for the 'Skip Tutorial' button:

<plugin name="skip2" url="graphics/skip.png"
zorder="20" visible="false" y="35%" height="5%" width="prop" align="center"
onclick="breakall(); closeAll()"/>

The 'closeAll()' is an action to close any plugins that are still open/visible after the break and I have tried removing it but breakall is still ignored by the pad.

This is the url to view the entire xml:
www.360examples.net/workinprogress/budapest/files/hotel.xml

Thanks for your interest.
Regards

Kev