<style name="holder_style" url="img/drag_resizer.png" />
<layer name="field" type="text" keep="true" align="center" edge="lefttop" width="100" height="200" bgcolor="0xff0000" maxwidth="200" maxheight="300" >
<layer name="holder" type="container" align="rightbottom" width="28" height="28" handcursor="true">
<layer name="holder_btn" style="holder_style" crop="0|0|28|28" onovercrop="0|28|28|28" ondowncrop="0|0|28|28" align="center" width="28" height="28" ondown="Resize"/>
</layer>
</layer>
<action name="Resize">
copy(_cw, layer[field].width);
copy(_ch, layer[field].height);
copy(dsx, mouse.stagex);
copy(dsy, mouse.stagey);
asyncloop(pressed,
set(layer[field],
width=calc(_cw + (mouse.stagex - dsx)),
height=calc(_ch + (mouse.stagey - dsy))
);
);
</action>
Resize does not work in the explorer browser.
Why are you doing this?