Please, helpme:
This code doesn't work the first time when the web page loads, the rest of the time it works fine:
Code
<action name="centermylayer">
set(layer[skin_map_scrollarea].x, calc(layer[elstand].x * -1));
set(layer[skin_map_scrollarea].y, calc(layer[elstand].y * -1));
</action>
Any idea?
Solved: preload="true" in layer "skin_map_image" (parent is skin_map_scrollarea)