Hi Klaus, is there a bug with changing text within an dragable textfield layer in HTML with autoheight="true" set?
When I turn off autoheight the text is visible but cuts off, but when I enable it no text is visible. I am loading text from another xml doc and populating the same masked text layer each time:
my layers:
|
Quellcode
|
1
2
3
4
5
6
|
<layer name="title" url="%SWFPATH%/plugins/textfield.swf" visible="false" children="false" parent="textbox" enabled="false" width="1024" zorder="97" align="topcenter" y="15" border="false" background="false" css="p{text-align:center; color:#E3E3E3; font-family:Ringbearer; font-weight:normal; font-size:36px;}" keep="true" />
<layer name="textmask" type="container" visible="false" parent="textbox" align="lefttop" x="30" y="90" width="40%" height="60%" zorder="96" bgcolor="0xFFFFFF" enabled="true" bgalpha="0" maskchildren="true" keep="true" >
<layer name="text" url="%SWFPATH%/plugins/textfield.swf" visible="false" children="false" align="lefttop" x="0" y="0" width="100%" autoheight="true" border="false" background="false" css="p{text-align:left; color:#E3E3E3; font-family:Ringbearer; font-weight:normal; font-size:18px;}" ondown="draglayer_text(start,290);" keep="true" />
</layer>
|
my action to populate the textfield from a reference to another xml file which is loaded in:
|
Quellcode
|
1
2
3
|
set(layer[text].y,0);
set(layer[text].css, text-align:left; color:#FFFFFF; font-family:Ringbearer; font-weight:normal; font-size:18px;);
set(layer[text].html, get(data[get(itemdesc)].content));
|
does that look ok or is there a bug in the HTML side with the dargagble layers?
Thanks