Hi ! I bought your plugin, it is very good! But big arrows not working, instead listing images, window close. Krpano 1.8.4
Posts by Anthony
-
-
I have child to hotspots layers and textfield with png inside.
They are blurred only in CHROME. -
How to dynamically remove <scene> element, same as removelayer(); do ?
-
Hi!
I made like this :
<image type="CYLINDER" hfov="1.00" vfov="1.333333" voffset="0.00" multires="none" tilesize="512" progressive="true">
<cylinder url="panos/enter.tiles/pano.jpg" />
</image>
inside <scene> tag in tour.xml
-
Some time, when i click on the hotspot, nothing happens, but if i rotate pano a little bit, this hotspot "onclick" works again.
-
Why hotspot is tweening faster than layer with textfield with same same parameters ?
tween(scale,0.25,0.5); tween(oy,-20,0.5); tween(alpha,0,0.5);
-
I made like this and it is working! Maybe it is not right way to get size )
style
name="hs_tooltip_style"
url="%SWFPATH%/plugins/textfield.swf"
align="right"
autowidth="true"
onautosized="get_size();"
edge="left"
zorder="5"
enabled="true"
x="0"
background="false"
textshadow="0.5" textshadowrange="6.0" textshadowangle="90" textshadowcolor="0x000000" textshadowalpha="1.0"
css="text-align:center; color:#eeeeee; font-family:roboto_condensedregular; font-size:13px; font-weight:normal; padding-left:7px; padding-right:8px;"
html=""
/>
<action name="get_size">
set(hts, get(width));
set(htn, get(name));
copy(layer[get(htn)].onautosized, hts);
for(set(i,0), i LT hotspot.count, inc(i),
txtadd(hs_tooltip_bg_name, 'hs_tooltip_bg',get(i));
txtadd(hs_tooltip_name, 'hs_tooltip',get(i));
copy(layer[get(hs_tooltip_bg_name)].width, layer[get(hs_tooltip_name)].onautosized);
);
</action> -
Thank you for reply!
I found size of textfield:
onautosized="set(size, get(width));
trace(size);
showlog();"How to resize dynamicly generated layers with my background ?
I try this :
onautosized="
set(s1, get(width));
set(n1, get(name));
copy(layer[get(n1)].onautosized, s1);
"and
set(layer[get(hs_tooltip_bg_name)].width, layer[get(hs_tooltip_name)].onautosized);
but not working..
-
Thank you for reply!
I need the correct thumb near each hotspot, that is why i try to get thumburl from hotspot.
-
How to insert thumburl ?
I got thumburl of scene on hotspots,
copy(scene_name, scene[get(linkedscene)].name);
copy(thumb_url, scene[get(scene_name)].thumburl);trace(thumb_url);
showlog();Trace Ok.
Now i try to insert thumb_url in array..
copy(layer[get(thumbname1)].url, hotspot[get(i)].thumb_url);
not working...
but this works fine.. ( shows only last thumb )
copy(layer[get(thumbname1)].url, .thumb_url);
-
Hi! I'm new in programming, but i have read a lot and decide to make my own template, with fixed hotspot tooltips, dynamic scene titles inside and bg pic.
So my problem is that i cannot see textfield layer behing the layer with a bg pic.. (png) Textfield is a child of hotspot, bg layer is a child of textfield, zorder does not work..
When i make both textfield and bg layer childr of hotspot, zorder works fine, but bg layer does not fit textfild.. I tried to get "width" of textfield layer but did not sucсeed... please help!
The Code :
<style
name="hs_tooltip_style"
url="%SWFPATH%/plugins/textfield.swf"
align="right"
autowidth="true"
edge="left"
zorder="10"
enabled="true"
x="0"
background="false"
textshadow="0.5" textshadowrange="6.0" textshadowangle="90" textshadowcolor="0x000000" textshadowalpha="1.0"
css="text-align:center; color:#eeeeee; font-family:roboto_condensedregular; font-size:13px; font-weight:normal; padding-left:7px; padding-right:7px;"
html=""
/><style name="tooltip_bg" url="%SWFPATH%/skin/assets/tooltip_hotspot_bg.png" alpha="1" align="left" edge="left" x="0" height="30" width="100%" zorder="1"/>
<action name="add_hs_tooltips">
for(set(i,0), i LT hotspot.count, inc(i),txtadd(hs_tooltip_bg_name, 'hs_tooltip_bg',get(i));
addlayer(get(hs_tooltip_bg_name));
txtadd(hs_tooltip_name, 'hs_tooltip',get(i));
addlayer(get(hs_tooltip_name));layer[get(hs_tooltip_bg_name)].loadstyle(tooltip_bg);
layer[get(hs_tooltip_name)].loadstyle(hs_tooltip_style);txtadd(parent_hs_name, 'hotspot[',get(hotspot[get(i)].name),']');
copy(layer[get(hs_tooltip_bg_name)].parent, hs_tooltip_name);
copy(layer[get(hs_tooltip_name)].parent, parent_hs_name);copy(layer[get(hs_tooltip_name)].html, hotspot[get(i)].tooltip);
);
</action>
<style name="skin_hotspotstyle" url="assets/hotspot.png" scale="1" edge="top" oy="0" distorted="false"
tooltip=""
onclick="if(linkedscene, skin_hidetooltips(); tween(scale,0.25,0.5); tween(oy,-20,0.5); tween(alpha,0,0.5); looktohotspot(get(name),100,smooth(200,50,50)); loadscene(get(linkedscene),null,MERGE,BLEND(1)); skin_updatescroll(); );"onloaded="if(skin_settings.tooltips_hotspots, if(linkedscene, copy(tooltip,scene[get(linkedscene)].title); loadstyle(skin_tooltips_hotspot); )); add_hs_tooltips();"
/>