Strange behaviour on Chrome :
I have a bingmap inside a container with a parent layer (button) to slide the container.
When I clic on the button to tween container x value it works perfect, but when I clic on a mapspot wich execute an action to close the map and load another xml the container slides to the top instead of on the right and the parent button doesn't follow ???
What is strange is that it works perfect on Firefox and IE ???
Code
<layer name="mapcontainer" type="container" align="right" width="40%" height="100%" x="-40%" keep="true">
<plugin name="map" keep="true"
url="%SWFPATH%/plugins/bingmaps.swf" alturl="%SWFPATH%/plugins/bingmaps.js"
align="left" width="100%" height="100%"
key="AgKj4yFLMOUO9nBeUMTy8WK_FgEvPrC8IJ6LgRCgJrL3ukwSi1HSpyxr9iYgmomP"
maptype="hybrid"
lat="49.1535543" lng="2.072103" zoom="11"
activespotenabled="true"
onmapready="txtadd(panoname,get(xml.url));txtreplace(panoname2, panoname, .xml,);plugin[map].activatespot(get(panoname2));plugin[map].pantospot(get(panoname2));"
>
</plugin>
</layer>
<plugin name="bordermap"
devices="desktop"
keep="true"
url="%SWFPATH%/skin/icons/desktop_map.png"
align="left"
edge="right"
zorder="5"
parent="layer[mapcontainer]"
onclickA="set(state,'A'); tween(layer[mapcontainer].x,0%);"
onclickB="set(state,'B'); tween(layer[mapcontainer].x,-40%);"
onclick="if(state == 'A', onclickB(), onclickA() );"
/>
<action name="closemap" devices="desktop">
plugin[bordermap].onclickB();
</action>
Alles anzeigen
A clue ?
Thanx !