Ok now i have understand, bur have another problem..
with this is working:
<action name="popup">
if(%1 == true,
set(layer[bg].visible,true);
set(layer[popupimage1].visible,true);
tween(layer[popupimage1].alpha,1.0,0.5);
,
tween(layer[popupimage1].alpha,0,0.5,default,set(visible,false));
set(layer[bg].visible,false);
);
</action>
but if i try to add 2% to the "popupimage" string for to pass the variable with the name of layer, it is not working
<action name="popup">
if(%1 == true,
set(layer[bg].visible,true);
set(layer[popupimage2%].visible,true);
tween(layer[popupimage2%].alpha,1.0,0.5);
,
tween(layer[popupimage2%].alpha,0,0.5,default,set(visible,false));
set(layer[bg].visible,false);
);
</action>
How i can add some numbers to the string "popupimage" and have popupimage1, popupimage2, popupimage7.....
Thanks.