Hello!
changed the code from the example of the official "demotour-kuchlerhaus"
original
Code
<action name="openthumb">
if(%2 != NEXT,
set(pos,0);
copy(curpos,plugin[%1].thumbpos);
set(xdst, 0);
set(ydst, 0););
if(pos LT curpos,
inc(pos);
inc(ydst,90);
sub(ymax, stageheight, 100);
if(ydst GT ymax, inc(xdst,90);set(ydst,0); );
openthumb(%1,NEXT);
,
add(xdst,10);
add(ydst,10);
tween(plugin[%1].x, get(xdst) );
tween(plugin[%1].y, get(ydst) );
tween(plugin[%1].width, 80);
tween(plugin[%1].height, 80);
);
</action>
Display More
my version
Code
<action name="openthumb">
for(set(pos,0);
copy(curpos, plugin[%1].thumbpos);
set(xdst, 0);
set(ydst, 0);
,
pos LT curpos
,
if(pos GE curpos, add(xdst,10);
add(ydst,10);
tween(plugin[%1].x, get(xdst) );
tween(plugin[%1].y, get(ydst) );
tween(plugin[%1].width, 80);
tween(plugin[%1].height, 80);
);
,
inc(pos);
inc(ydst,50);
sub(ymax, stageheight, 100);
if(ydst GT ymax, inc(xdst,90);set(ydst,0) );
);
</action>
Display More
open all but one preview,that I missed?Thank you