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/ind…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/ind….hlookat,180%29
Very very strange no ?
Is this a krpano bug or is my code wrong ?
Here is the code for the hotspots :
<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"/>
Display More