<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>Should it be:<br>icontextentry.txt.setTextFormat(icontextentryFormat);<br><br>In either case, no joy.<br><br>Set the input font and size in the LO.<br>No change. This is funny.<br><br><br><br><br><br><br><br><br><br><br><hr id="stopSpelling">Date: Thu, 17 Feb 2011 14:03:37 -0800<br>From: Paul.Swanson@harlandfs.com<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Re: Text Entry scroll = auto<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass .ecxshape
{;}
</style><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxemailstyle18
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxecxemailstyle181
{font-family:'Calibri','sans-serif';color:#1F497D;font-weight:normal;font-style:normal;text-decoration:none none;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{margin-right:0in;margin-left:0in;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle28
{font-family:'Calibri','sans-serif';color:#1F497D;font-weight:normal;font-style:normal;text-decoration:none none;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
</style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">icontextentryFormat = new TextFormat();</span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">icontextentryFormat.size = 12; // 12 point </span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">icontextentry.setTextFormat(icontextentryFormat);</span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Does that do anything?</span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p><div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0in 0in 0in 4pt;"><div><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;"><p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> Thursday, February 17, 2011 1:44 PM<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Re: Text Entry scroll = auto</span></p></div></div><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>Yes, thanks Paul.<br>I was suckered by inspect showing "height" and "height" going blue in the code window.<br><br>So now if there is no text in the field to begin with, the box doesn't collapse, but the text is some tiny default, even if I set it explicitly in the icon.<br>This is quite the PITA for a simple text entry. I forget Flash really does suck in some regards.</span></p><div class="ecxMsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><hr id="ecxstopSpelling" align="center" width="100%" size="2"></span></div><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">Date: Thu, 17 Feb 2011 13:30:32 -0800<br>From: Paul.Swanson@harlandfs.com<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Re: Text Entry scroll = auto</span></p><div><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Shouldn’t it be _height?</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">From Flash help:</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;">_height Property</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;">public _height : Number</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;">Player version: Flash Player 6</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;">The height of the text field in pixels.</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;">Example</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;">The following code example sets the height and width of a text field:</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;">my_txt._width = 200;</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: black;">my_txt._height = 200;</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">You might also try applying a CSS style that sets the font-size. </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; padding: 0in 0in 0in 4pt; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue;"><div><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-color: -moz-use-text-color;"><p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> Thursday, February 17, 2011 1:13 PM<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Re: Text Entry scroll = auto</span></p></div></div><p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> </span></p><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">Trying the text icon.<br><br>icontextentry.txt.height = 20;<br>icontextentry.txt.background = true;<br>icontextentry.txt.type = 'input';<br>icontextentry.txt.selectable = true;<br>setFocus(icontextentry.txt);<br><br>Unless I have text in the icon to begin with, it collapses down to about 2 pixels high.<br>(tried textHeight too).<br><br></span></p><div class="ecxMsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><hr align="center" width="100%" size="2"></span></div><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Thu, 17 Feb 2011 19:54:51 +0000<br>Subject: [Xerte] Re: Text Entry scroll = auto</span></p><div><div><p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">I dont think the text entries are set up to scroll: I use a normal text icon in such situations and set events on iconID.txt.onChanged</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p></div><div><p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p></div><div id="ecxdivRpF770858"><div class="ecxMsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"><hr align="center" width="100%" size="2"></span></div><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett@hotmail.com]<br><b>Sent:</b> 17 February 2011 13:42<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Text Entry scroll = auto</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p></div><div><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"><br>Doesn't seem to want to scroll when set to auto.<br><br>Simple example<br>0,0,100,100, match this, scrolling=auto, border=1, erase=1, exit=0 </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p></div></div><p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. <br>This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. <br><br>_______________________________________________ Xerte mailing list Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. </span></p></div></div><p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>_______________________________________________ Xerte mailing list Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. </span></p></div></div><br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. </body>
</html>