<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>Not scrolling exactly.<br>Even if you specify _height and _width, without setting maxchars, the text continues to wrap and expand the input area downward.<br><br>In an effort to avoid using maxChars, (which I would like to, as this is a proto interaction) I added:<br><br>icontextentry.txt.multiline = false;<br>icontextentry.txt.wordWrap = false;<br><br>If I use multiline = false; the input box collapses to a single character width.<br>If I use wordWrap = false; the input box continues expanding to the right until it's off screen <br><br>I can't believe this is so complicated.<br>At least Flash could have learned one thing from AW.<br>Insert, drag to size, that's it.<br>;-)<br><br><hr id="stopSpelling">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Fri, 18 Feb 2011 14:29:35 +0000<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:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsonormal, .ExternalClass li.ecxecxecxmsonormal, .ExternalClass div.ecxecxecxmsonormal
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsonormal, .ExternalClass li.ecxecxecxecxmsonormal, .ExternalClass div.ecxecxecxecxmsonormal
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsochpdefault, .ExternalClass li.ecxecxecxecxmsochpdefault, .ExternalClass div.ecxecxecxecxmsochpdefault
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsonormal1, .ExternalClass li.ecxecxecxecxmsonormal1, .ExternalClass div.ecxecxecxecxmsonormal1
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsochpdefault1, .ExternalClass li.ecxecxecxecxmsochpdefault1, .ExternalClass div.ecxecxecxecxmsochpdefault1
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsochpdefault, .ExternalClass li.ecxecxecxmsochpdefault, .ExternalClass div.ecxecxecxmsochpdefault
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsonormal1, .ExternalClass li.ecxecxecxmsonormal1, .ExternalClass div.ecxecxecxmsonormal1
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsonormal2, .ExternalClass li.ecxecxecxecxmsonormal2, .ExternalClass div.ecxecxecxecxmsonormal2
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsochpdefault2, .ExternalClass li.ecxecxecxecxmsochpdefault2, .ExternalClass div.ecxecxecxecxmsochpdefault2
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsonormal11, .ExternalClass li.ecxecxecxecxmsonormal11, .ExternalClass div.ecxecxecxecxmsonormal11
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsochpdefault11, .ExternalClass li.ecxecxecxecxmsochpdefault11, .ExternalClass div.ecxecxecxecxmsochpdefault11
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsochpdefault1, .ExternalClass li.ecxecxecxmsochpdefault1, .ExternalClass div.ecxecxecxmsochpdefault1
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxecxmsohyperlink1
{;}
.ExternalClass span.ecxecxecxmsohyperlinkfollowed1
{;}
.ExternalClass span.ecxecxecxecxmsohyperlink11
{;}
.ExternalClass span.ecxecxecxecxmsohyperlinkfollowed11
{;}
.ExternalClass span.ecxecxecxecxemailstyle1811
{;}
.ExternalClass span.ecxecxecxemailstyle281
{;}
.ExternalClass span.ecxecxemailstyle42
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{margin-right:0cm;margin-bottom:0cm;margin-left:0cm;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 p.ecxecxecxmsonormal2, .ExternalClass li.ecxecxecxmsonormal2, .ExternalClass div.ecxecxecxmsonormal2
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsonormal3, .ExternalClass li.ecxecxecxecxmsonormal3, .ExternalClass div.ecxecxecxecxmsonormal3
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsochpdefault3, .ExternalClass li.ecxecxecxecxmsochpdefault3, .ExternalClass div.ecxecxecxecxmsochpdefault3
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsonormal12, .ExternalClass li.ecxecxecxecxmsonormal12, .ExternalClass div.ecxecxecxecxmsonormal12
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsochpdefault12, .ExternalClass li.ecxecxecxecxmsochpdefault12, .ExternalClass div.ecxecxecxecxmsochpdefault12
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsochpdefault2, .ExternalClass li.ecxecxecxmsochpdefault2, .ExternalClass div.ecxecxecxmsochpdefault2
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxmsonormal11, .ExternalClass li.ecxecxecxmsonormal11, .ExternalClass div.ecxecxecxmsonormal11
{margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxecxmsohyperlink11
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxecxmsohyperlinkfollowed11
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxecxecxecxmsonormal21, .ExternalClass li.ecxecxecxecxmsonormal21, .ExternalClass div.ecxecxecxecxmsonormal21
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsochpdefault21, .ExternalClass li.ecxecxecxecxmsochpdefault21, .ExternalClass div.ecxecxecxecxmsochpdefault21
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxecxecxmsonormal111, .ExternalClass li.ecxecxecxecxmsonormal111, .ExternalClass div.ecxecxecxecxmsonormal111
{margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxecxecxmsohyperlink111
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxecxecxmsohyperlinkfollowed111
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxecxecxecxemailstyle18111
{font-family:'Calibri','sans-serif';color:#1F497D;font-weight:normal;font-style:normal;text-decoration:none none;}
.ExternalClass p.ecxecxecxecxmsochpdefault111, .ExternalClass li.ecxecxecxecxmsochpdefault111, .ExternalClass div.ecxecxecxecxmsochpdefault111
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxecxemailstyle2811
{font-family:'Calibri','sans-serif';color:#1F497D;font-weight:normal;font-style:normal;text-decoration:none none;}
.ExternalClass p.ecxecxecxmsochpdefault11, .ExternalClass li.ecxecxecxmsochpdefault11, .ExternalClass div.ecxecxecxmsochpdefault11
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxemailstyle421
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle64
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.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);">Scrolling was it?</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);">Would any engine-side support help?</span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p><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 0cm 0cm;"><p class="ecxMsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 18 February 2011 14:27<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Re: Text Entry scroll = auto</span></p></div></div><p class="ecxMsoNormal" style="margin-left: 36pt;"> </p><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>Thanks Julian. That did it.<br><br>Still don't get it though.<br><br>If I create a new text object, I can see using setTextFormat, as it would be a "blank" object with no inheritance.<br><br>But if I'm using the default .txt object, it seems to use the properties applied in the icon, *except if there is no text in the field to begin with*.<br>And using setNewTextFormat seems to imply those properties are already there.<br><br>So to get a blank, single line, limited width, non-scrolling, non-collapsing, input text field with the correct font/size:<br><br>icontextentry.txt._height = 20;<br>icontextentry.txt._width = 300;<br>icontextentry.txt.background = true;<br>icontextentry.txt.border = true;<br>icontextentry.txt.type = 'input';<br>icontextentry.txt.selectable = true;<br>icontextentry.txt.maxChars = 40;<br>myTF = new TextFormat();<br>myTF.font = "Verdana";<br>myTF.size = 14;<br>icontextentry.txt.setNewTextFormat(myTF);<br>setFocus(icontextentry.txt); <br><br><br>What was the advantage over a regular text entry again?<br>;-)<br><br><br></span></p><div class="ecxMsoNormal" style="margin-left: 36pt; 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-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><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: Fri, 18 Feb 2011 08:46:04 +0000<br>Subject: [Xerte] Re: Text Entry scroll = auto</span></p><div><p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">setNewTextFormat()</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal" style="margin-left: 36pt;"><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><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0cm 0cm; border-color: -moz-use-text-color;"><p class="ecxMsoNormal" style="margin-left: 72pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 17 February 2011 22:29<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Re: Text Entry scroll = auto</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p></div></div><p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> </span></p><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><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></span></p><div style="margin-left: 36pt;"><div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><hr align="center" width="100%" size="2"></span></div></div><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">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</span></p><div><p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">icontextentryFormat = new TextFormat();</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">icontextentryFormat.size = 12; // 12 point </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">icontextentry.setTextFormat(icontextentryFormat);</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Does that do anything?</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal" style="margin-left: 72pt;"><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: 0cm 0cm 0cm 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 0cm 0cm; border-color: -moz-use-text-color;"><p class="ecxMsoNormal" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> </span></p><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><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 style="margin-left: 36pt;"><div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><hr align="center" width="100%" size="2"></span></div></div><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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: 0cm 0cm 0cm 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 0cm 0cm; border-color: -moz-use-text-color;"><p class="ecxMsoNormal" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> </span></p><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><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).</span></p><div style="margin-left: 36pt;"><div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><hr align="center" width="100%" size="2"></span></div></div><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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 style="margin-left: 36pt;"><div class="ecxMsoNormal" style="margin-left: 36pt; 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></div><p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><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-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><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" style="margin-left: 72pt;"><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" style="margin-left: 72pt;"><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><p class="ecxMsoNormal" style="margin-left: 72pt;"><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><p class="ecxMsoNormal" style="margin-left: 36pt;"><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><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>