adding this to your code:
tmpField.wordWrap = true;
Hth,
Bob
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alistair
Colling
Sent: Wednesday, May 07, 2008 10:03 AM
To: Flash Coders List
Subject: [Flashcoders] Why isn't my TextField multiline? AS2
Hi
:[EMAIL PROTECTED] On Behalf Of
Alistair
Colling
Sent: Wednesday, May 07, 2008 10:03 AM
To: Flash Coders List
Subject: [Flashcoders] Why isn't my TextField multiline? AS2
Hi there, thanks for checking this.
I'm generating a textfield from within a custom class but I can't
seem to make it multiline, I
:[EMAIL PROTECTED] On Behalf Of
Alistair
Colling
Sent: Wednesday, May 07, 2008 10:03 AM
To: Flash Coders List
Subject: [Flashcoders] Why isn't my TextField multiline? AS2
Hi there, thanks for checking this.
I'm generating a textfield from within a custom class but I can't
seem to make it multiline
,
Bob
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Alistair
Colling
Sent: Wednesday, May 07, 2008 10:03 AM
To: Flash Coders List
Subject: [Flashcoders] Why isn't my TextField multiline? AS2
Hi there, thanks for checking this.
I'm generating
I think the problem is that you're pulling your string from another text
field. In that case, the characters are just characters, rather than control
codes. This subset of your code works fine:
var tmpField:TextField = this.createTextField(my_txt, 1, 0,0,100,100);
tmpField.selectable = false;
hmm, the string that is being targeted is held in a variable that is
set from an xml file so should just be a regular string, i'll look
into this tho.
Thanks Rich
On 8 May 2008, at 13:38, Rich Shupe wrote:
I think the problem is that you're pulling your string from another
text
field. In
In that case, use HTML and br and/or try wrapping the content in a CDATA
tag.
On 5/8/08 8:52 AM, Alistair Colling wrote:
hmm, the string that is being targeted is held in a variable that is
set from an xml file so should just be a regular string, i'll look
into this tho.
Rich
Hi there, thanks for checking this.
I'm generating a textfield from within a custom class but I can't
seem to make it multiline, I can see the border of the textfield is
the right size my text only appears on the first line and also my
carriage returns \r are having no effect.
I've tried a
If i remember correctly it should be:
tmpField.wordWrap = true;
hth,
B.
On Wed, May 7, 2008 at 10:03 AM, Alistair Colling [EMAIL PROTECTED]
wrote:
Hi there, thanks for checking this.
I'm generating a textfield from within a custom class but I can't seem to
make it multiline, I can see
Hi Alistair,
Try adding this to your code:
tmpField.wordWrap = true;
Hth,
Bob
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alistair
Colling
Sent: Wednesday, May 07, 2008 10:03 AM
To: Flash Coders List
Subject: [Flashcoders] Why isn't my TextField
10 matches
Mail list logo