Hi,
i use this piece of code to calculate my stageheight while resizing :
Code
if(device.desktop, sub(destheight,stageheight, 127),);
div(divisor,stageheight,100);
div(destheight,divisor);
roundval(destheight, 1);
txtadd(destheight,get(destheight),'%');
tween(area.height, get(destheight), 0.1);
i want use it with calc but it confuse me,
how do you translate properly the code ??
Thanks
z