Re: [Flashcoders] Center align a multiline textfield?
Capitalisation - it's autoSize, not autosize. Ian On 10/11/06, Perdue, Blake [EMAIL PROTECTED] wrote: I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true; autosize='center'; htmlText='font face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font'; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Center align a multiline textfield?
Blake, Did you try using the paragraph tag's align attribute that I suggested yesterday? htmlText='p align=centerfont face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font/p'; -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Wednesday, October 11, 2006 10:01 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Center align a multiline textfield? Yeah, tried and still doesn't work. Anyone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Wednesday, October 11, 2006 10:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Center align a multiline textfield? Capitalisation - it's autoSize, not autosize. Ian On 10/11/06, Perdue, Blake [EMAIL PROTECTED] wrote: I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true; autosize='center'; htmlText='font face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font'; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Center align a multiline textfield?
It's becuase you have wordWrap set to true. Here's a quick and dirty example - try setting back to true to see the difference. this.createTextField('subhead', 20, 1, 435, 434, 200); with (this.subhead) { selectable = true; wordWrap = false; multiline = true; autoSize = 'center'; border = true; } var sMyString:String = This is my textfield string, la, la la, la la, and it is centred, la, la la, la la; var nCharNum:Number = 0; function fMakeString(mcScope_psd, fltText_psd) { trace(mcScope_psd); mcScope_psd[fltText_psd].text += mcScope_psd.sMyString.charAt(mcScope_psd.nCharNum++); if (mcScope_psd.nCharNum == mcScope_psd.sMyString.length) { clearInterval(mcScope_psd.iMakeText); } } iMakeText = setInterval(fMakeString, 50, this, subhead); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Perdue, Blake Sent: 11 October 2006 16:01 To: Flashcoders mailing list Subject: RE: [Flashcoders] Center align a multiline textfield? Yeah, tried and still doesn't work. Anyone? This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. We may monitor email to and from our network. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Center align a multiline textfield?
I missed your email yesterday, but your solution works. Thanks much! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Reinfeld Sent: Wednesday, October 11, 2006 11:40 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Center align a multiline textfield? Blake, Did you try using the paragraph tag's align attribute that I suggested yesterday? htmlText='p align=centerfont face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font/p'; -Keith http://home.mn.rr.com/keithreinfeld -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Wednesday, October 11, 2006 10:01 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Center align a multiline textfield? Yeah, tried and still doesn't work. Anyone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Wednesday, October 11, 2006 10:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Center align a multiline textfield? Capitalisation - it's autoSize, not autosize. Ian On 10/11/06, Perdue, Blake [EMAIL PROTECTED] wrote: I'm trying to get a multiline textfield to be center aligned. Here's the code: this.createTextField('subhead',20,1,435,434,200); with (this.subhead) { html=true; embedFonts=true; selectable=false; wordWrap=true; multiline=true; autosize='center'; htmlText='font face=KnockoutHTF51Middleweight size=16 color=#ffSI.com\'s Peter King says T.O. is going to explode before long, but Dallas is tough enough to survive./font'; } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com