Hi,
the problem is the get(...) inside the text that will be passed to the tween():
plugin[get(xxx)]
that get() will be resolved each time the tween will be updated.
(Btw - that will be changed in the next krpano version 1.18 - there all get() requests inside a tween variable will be resolved automatically before the start of the tween action)
A way to bypass this behavior would be to change the action code a bit and pass the resolved get() to the sub-action,
e.g.
|
Quellcode
|
1
|
animScore(get(xxx));
|
and:
|
Quellcode
|
1
2
3
4
5
|
<action name="animScore">
tween(plugin[%1].y, -50, 1);
tween(plugin[%1].alpha, 1, .1);
DelayedCall(1, tween(plugin[%1].alpha, 0, .3));
</action>
|
Best regards,
Klaus