Hi!
I analyzed the code and reduced it to a minimum, but I still can't figure out the reason.
Here is the code. version="1.20.9"
Code
<hotspot name="hs1" url="arr.png" onclick="test();" />
<hotspot name="hs2" url="arr.png" onclick="test();" ath="20" />
<action name="test" >
for(set(i,0), i LE hotspot.count, inc(i),
if(hotspot[get(i)].ath == 0,
trace(55);
,
trace(77);
set(hotspot[get(i)].visible, false);
);
);
</action>
Alles anzeigen
this example
When executing test (); everything freezes.
If you remove the line, it works.
Tell me, what could be the reason?