You are not logged in.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 792

Location: Angers - France

Occupation: Photographer

  • Send private message

1

Friday, January 8th 2016, 9:06am

Flash Bug ?

Hi, I know flash is to forget now, but some of my clients still have old computers and browsers so need flash version...
I'm just facing a very strange and new problem with the flash version, I have 4 hotspots who generates 4 textfield parent to them to display text like tooltip but always on.
Works perfect in html5 : http://360images.fr/angers_360/index.html?pano=test.xml
In Flash, the 2 hotspots that are in the view when loading the pano won't display the textfield, or looks like they do but with no text and all over the screen ???
The 2 hotspots behind are well displayed... http://360images.fr/angers_360/index.htm…xml&html5=never
I thought first I had a problem with those two hotspots (special character, name...) but if I start the initial view at 180 the two first one are displayed correctly and the 2 other are no displayed : http://360images.fr/angers_360/index.htm….hlookat,180%29

Very very strange no ?

Is this a krpano bug or is my code wrong ?

Here is the code for the hotspots :

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
	<style name="txt" url="%SWFPATH%/skin/icons/trait.png" edge="bottom" zorder="2"
			onloaded="
			addlayer(get(name));
			set(layer[get(name)].url,%SWFPATH%/plugins/textfield.swf);
			set(layer[get(name)].edge,bottom);
			set(layer[get(name)].align,top);
			set(layer[get(name)].enabled,false);
			set(layer[get(name)].handcursor,false);
			set(layer[get(name)].autoheight,auto);
			set(layer[get(name)].autowidth,auto);
			set(layer[get(name)].background,false);
			set(layer[get(name)].border,false);
			set(layer[get(name)].textshadow,0.01);
			set(layer[get(name)].css,color:#ffffff;font-size:20px;font-family:Neo Sans Std;);
			txtadd(parentspot,'hotspot[',get(name),']');
			copy(layer[get(name)].parent,parentspot);
			txtadd(entxt, 'data:en_', get(name));
		    txtadd(frtxt, 'data:fr_', get(name));
		    copy(layer[get(name)].html, frtxt);
			txtadd(wine,get(name),'_wine');
			addlayer(get(wine));
			set(layer[get(wine)].url,%SWFPATH%/skin/icons/verre.png);
			set(layer[get(wine)].align,left);
			set(layer[get(wine)].edge,right);
			set(layer[get(wine)].ox,-10);
			txtadd(parentlayer,'layer[',get(name),']');
			copy(layer[get(wine)].parent,parentlayer);
		    "
	       />

<data name="fr_rablay_savennieres">Savennières</data>

<data name="fr_rablay_anjou">Anjou</data>

<data name="fr_rablay_coteaux">Coteaux du Layon</data>

<data name="fr_rablay_cabernet">Cabernet d'Anjou</data>

<hotspot name="rablay_coteaux" ath="-44.056" atv="1.149" style="txt" height="80"/>

<hotspot name="rablay_cabernet" ath="8.362" atv="1.046" style="txt" height="80"/>

<hotspot name="rablay_savennieres" ath="139.278" atv="0.457" style="txt" height="80"/>

<hotspot name="rablay_anjou" ath="-142.741" atv="-1.700" style="txt" height="80"/>

benji33

Intermediate

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

2

Friday, January 8th 2016, 10:29am

It's an issue linked to autowidth/autoheight. If values are forced this will be working.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 792

Location: Angers - France

Occupation: Photographer

  • Send private message

3

Friday, January 8th 2016, 10:33am

It's an issue linked to autowidth/autoheight. If values are forced this will be working.

Thanx benji, you're right with width and height values it works, the strange thing is that the hotspots outside the initial view works with autowidth and autoheight...

benji33

Intermediate

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

4

Monday, January 11th 2016, 1:01pm

Perhaps try a updatescreen() or updateobject(true,true) method ?

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 792

Location: Angers - France

Occupation: Photographer

  • Send private message

5

Tuesday, January 12th 2016, 9:40pm

Perhaps try a updatescreen() or updateobject(true,true) method ?

Thanx benji, but it doesn't change anything...

6

Tuesday, March 15th 2016, 11:35am

Hi,

a quick note - in the next release this will be fixed.

Best regards,
Klaus