dear forummembers
how to read out the width of this textfield see the code below and copy it to it's parent layer[primus]
Code
<style name="leo2"
keep="false"
type="text"
renderer="webgl"
alpha="1"
edge="lefttop"
capture="false"
distorted="true"
css="color:#fff;font-size:14px;"
padding="4"
wordwrap="true"
selectable="false"
background="false"
backgroundcolor="0xffffff"
backgroundalpha="0.7"
border="false"
bordercolor="0xFFFFFF"
roundedge="0"
textshadow="0.5"
textshadowrange="4.0"
textshadowangle="45"
textshadowcolor="0x000000"
textshadowalpha="1.0" />
Display More