You are not logged in.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

1

Monday, October 15th 2012, 1:09pm

Loading hotspots random issue

Hi, I have a random issue on a tour with scenes for iphone and ipad, on each scene there is 2 flying hotspot images, the thumbs navigation and the aircompass + a mp3 playing on start...
The thumbs + aircompass are included with a "include url" and keep="true"
Some times the scenes loads and play correctly the mp3 but doesn't load the flying hotspots and the aircompass hotspots ???
If I go on an other scene and come back to the first one the hotspots are correctly loaded...
Is there too many things to load or is it an other problem ?
Part of the code with one scene :

Source code

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
<krpano version="1.0.8.15" title="" onstart="startup();">

	<include url="skin/mobileskin.xml" devices="mobile|tablet"/>
	<include url="skin/desktopskin.xml" devices="desktop" />
	<include url="skin/thumbsmobile.xml" devices="mobile|tablet"/>
	<include url="skin/thumbs.xml" devices="desktop" />
	<include url="skin/ballon.xml" devices="all" />

	<action name="startup">
		loadscene(get(scene[0].name), null, MERGE);
	</action>

<plugin name="soundinterface"
        url="skin/plugins/soundinterface.swf"
        alturl="skin/plugins/soundinterface.js"
        preload="true"
        rootpath="mp3"
        volume="1.0"
        mute="false"
		keep="true"
        />
<!--	<plugin name="snd" url="skin/icons/sound.png" scale="0.5" devices="desktop" align="bottom" x="180"  y="15" zorder="3" keep="true"
	        crop="0|0|60|50"
	        onclick="pausesoundtoggle(name); switch(crop, 0|0|60|50, 0|50|60|50);"
			parent="STAGE"
	        />	-->	
	<scene name="scene_box1" title="ZARCO" onstart="playsound(name, box1.mp3,1,)" thumburl="box1.tiles/thumb.jpg">

		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="110" maxpixelzoom="1.0" fovmin="60" fovmax="110" limitview="range" vlookatmin="-50" vlookatmax="60" />

		<preview url="box1.tiles/preview.jpg" />

		<image type="CUBE" multires="true" tilesize="806" progressive="false">
			<level tiledimagewidth="4433" tiledimageheight="4433">
				<cube url="box1.tiles/l3_%s_%0v%0h.jpg" />
			</level>
			<level tiledimagewidth="2217" tiledimageheight="2217">
				<cube url="box1.tiles/l2_%s_%0v%0h.jpg" />
			</level>
			<level tiledimagewidth="1109" tiledimageheight="1109">
				<cube url="box1.tiles/l1_%s_%0v%0h.jpg" />
			</level>
			<mobile>
				<cube url="box1.tiles/mobile_%s.jpg" />
			</mobile>
			<tablet>
				<cube url="box1.tiles/tablet_%s.jpg" />
			</tablet>
		</image>

<include url="skin/aircompassright2.xml" />


	<hotspot name="hs1" devices="all"
	         url="photos/box1_2.jpg"
	         keep="false"
	         ath="50.299155586377736" atv="8.860531111215563"
	         scale="0.17219622899245246"
	         rx="11.975000000000009" ry="-1.8500000000000227" rz="0.24465239372239914"
			 style="flyoutimage"
		/>


	<hotspot name="hs2" devices="all"
	         url="photos/box1_1.jpg"
	         keep="false"
	         ath="32.16503214903589" atv="8.684366337388294"
	         scale="0.15334536331162327" 
	         rx="14.025000000000006" ry="12.1" rz="-0.1996597499187125"
			 style="flyoutimage"
		/>

			
	</scene>

2

Monday, October 15th 2012, 6:17pm

too many things to load
the incude is not really good
put a action withe a little, little, little wait ;-)

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

3

Monday, October 15th 2012, 8:25pm

Ok, thanx Job, a dellay to include xml files or to start mp3 ?

4

Monday, October 15th 2012, 10:26pm

you cann't put a delay with include url
put a action on onstart scene with all the things you want, if you have some loading troubles for sounds or hotspots or anything else, put a little wait between
normally all loading troubles are fixed

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

5

Monday, October 15th 2012, 10:57pm

It seems more like a bug of the 1.8.15 version...
I tried back with the 1.8.14 and the flyout hotspots where loading ok, of course the scrollingthumbs were not working because they use the new tag "layer"
I went back to 1.8.15 without the scrollingthumbs to see if it was a conflict or to much memory for both but the flyoutimages was still not loading correctly !

Is there a new tilmeout or memory limit on the 1.8.15 js version ?

here is the tour (iphone/ipad version) : http://www.360images.fr/haras/mobile.html
clic on this hotspot :


there should be 2 flyout hotspot images on each scene

it works perfect on desktop version:

http://www.360images.fr/harasindex.html

thanx for looking

6

Wednesday, October 17th 2012, 8:27am

Hi,
Is there a new tilmeout or memory limit on the 1.8.15 js version ?
of course not

How to reproduce the problem?
I have tried now several times on Desktop Safari with HTML5 and on iPad and it seems to work (all flying-out hotspots were always there...)

Best regards,
Klaus

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

7

Wednesday, October 17th 2012, 9:28am

Hi Klaus, and thank for looking !
Yes it works all right on desktop with flash or html5 version, but it still bugs here on my iPad...
So I was wondering if it wasn't since I switched to iOS6 ?
When I go on the horses box first scene, the sound plays ok but I don't have the air compass and the 2 flying hotspots on the box door, if I go on scene 2 same problem, if I switch back to first scene the flying hotspots are working as the air compass...
Strange no ?

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

8

Monday, October 22nd 2012, 1:01pm

I finally removed the scrolling thumbs on iphone and preloaded to cache the images, and it works all right now...

So I guess it's a memory problem...