cancel old mapSpot animations activated by another mapSpot

  • I created an additional mapSpot that is "invisible" that goes to another pano but activates another mapSpot animation that can be seen. The reason for this is that I want to be able to click an area next to the mapSpot in addition to the mapSpot. This works fine.

    The problem that I'm having is that if I click the "invisible" mapSpot again, the animation on the visible mapSpot looks messed up. I think this is because it is reapplying the animation over the last animation. I've tried all kinds of things to stop it including this inside the pano's xml file:

    Code
    <action name="onxmlcompleteaction">
    		set(plugin[mapspot6].frame           , 0);
    		set(plugin[mapspot6].ypos            , 0);
    		set(plugin[mapspot6].animationCounter, 0);
    		set(plugin[mapspot6].blingCounter, 0);
    		resetmapspot(mapspot6);
    		
    		unselectmapspotsbutpassed();
    		selectmapspot(mapspot6,175);
    	</action>

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!