Hello,
Sorry but i don't understood why my loadscene does'nt work.
all my showlog trace are good...
i call it with a include
Code
<action name="myaction" scope="global">
for(set(h,0), h LT scene.count, inc(h),
addlayer(scene[get(h)].name);
trace('NOM DU LAYER=', get(layer[get(h)].name));
set(layer[get(h)].type, image);
set(layer[get(h)].url, calc:'%VIEWER%/' + scene[get(h)].thumburl);
set(layer[get(h)].width, 200);
set(layer[get(h)].height, 100);
set(layer[get(h)].align, center);
set(layer[get(h)].x, calc(h * 300));
set(layer[get(h)].y, 0);
set(layer[get(h)].scale, 1);
set(layer[get(h)].keep, true);
set(layer[get(h)].visible, true);
set(layer[get(h)].alpha, 1);
set(layer[get(h)].enabled, true);
set(layer[get(h)].handcursor, true);
set(layer[get(h)].zorder, 3000);
txtadd(appelload, 'loadscene(', get(scene[get(h)].name), ',null,MERGE,BLEND(1));');
set(layer[get(h)].onclick, loadscene(get(appelload)));
);
</action>
Alles anzeigen
The log say
have you an idea please ?
thanks a lot,
Damien