Hi,
it is my first post here, but i come here a lot and usually I solve my bug fixes. Thanks to every one who helped me without even knowing.
This time i can't find a solution to this. I started coding recently KRPano for iPhone and Ipad. What is happening is that when I use an image map with radar on Ipad it seems to have a conflict every time I load a different scene.
I think the bug is with the keep="true" parameter in the code because when I change it to false it works like I want to, except it is totally disarranged.
I'm using Safari and when changing the user agent between mac and Iphone / Ipad, it does what I want to as well at the flash version but not on javascript -> to swap a button with the map and vice-versa when you click on the map itself. So I guess my code works, but something is wrong.
I'm already using the latest version of KRPano on every files.
You may see the different behaviors in the map at different scenes here:
http://www.spacetailor.com/lisbonlounge/ipad.html
Here is my code, hope you can help me:
<plugin name="map_btn"
url="misc/vr_btn_map_ON.png"
scale="0.30"
keep="true"
zorder="101"
align="bottomleft" x="15" y="0"
onclick="clickmap();"
/>
<plugin name="map" url="map/mapa.png" keep="true"
align="bottomleft" x="0" y="-1000"
scalechildren="true"
enabled="true"
zorder="101"
scale="0.20"
onclick="clickmap();"
/>
<action name="mon">
tween(plugin[map].y,0,1,easeoutquad);
set(plugin[map_btn].url,misc/vr_btn_map.png);
tween(plugin[map_btn].y,-500,1.5,easeinquad);
</action>
<action name="moff">
tween(plugin[map].y,-1000,1,easeinquad);
set(plugin[map_btn].url,misc/vr_btn_map_ON.png);
tween(plugin[map_btn].y,0,1.5,easeoutquad);
</action>
<action name="clickmap">
if(plugin[map].y == -1000, mon(), moff() );
</action>
<plugin name="radar"
url="plugins/radar.js"
zorder="101"
keep="true"
enabled="true"
heading="0"
parent="map"
mask="mapmask"
align="lefttop"
edge="center"
x="0" y="0"
scale="1"
editmode="false"
/>
Display More