Re: [Flashcoders] Textarea

2008-09-26 Thread David Rogers
Two suggestions: 1) It's a bit extreme but in the end I think it would work. Use the BitmapData Class to collect the image data, then use it to add additional transparent pixels to the left or right making the total width of the image the same width of your text field. You then must

RE: [Flashcoders] Textarea

2008-09-26 Thread Lehr, Theodore M (N-SGIS)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rogers Sent: Friday, September 26, 2008 10:27 AM To: Flash Coders List Subject: Re: [Flashcoders] Textarea Two suggestions: 1) It's a bit extreme but in the end I think it would work. Use the BitmapData

Re: [Flashcoders] Textarea

2008-09-26 Thread sebastian
, September 26, 2008 10:27 AM To: Flash Coders List Subject: Re: [Flashcoders] Textarea Two suggestions: 1) It's a bit extreme but in the end I think it would work. Use the BitmapData Class to collect the image data, then use it to add additional transparent pixels to the left or right making

RE: [Flashcoders] TextArea class properties

2008-09-09 Thread Merrill, Jason
Have you tried selectable = false? Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies?

RE: [Flashcoders] TextArea class properties

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
Yeah - didn't seem to affect anything -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, September 09, 2008 12:06 PM To: Flash Coders List Subject: RE: [Flashcoders] TextArea class properties Have you tried selectable = false

Re: [Flashcoders] TextArea class properties

2008-09-09 Thread eric e. dolecki
Of Merrill, Jason Sent: Tuesday, September 09, 2008 12:06 PM To: Flash Coders List Subject: RE: [Flashcoders] TextArea class properties Have you tried selectable = false? Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank

Re: [Flashcoders] TextArea class properties

2008-09-09 Thread Jon Bradley
On Sep 9, 2008, at 12:05 PM, Merrill, Jason wrote: Have you tried selectable = false? I think it might be: textAreaInstance.enabled = false; Getting rid of the focus rect is generally a separate issue though, but when the component 'enabled' property is set to false, the focus rect

RE: [Flashcoders] TextArea class properties

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
To: Flash Coders List Subject: Re: [Flashcoders] TextArea class properties On Sep 9, 2008, at 12:05 PM, Merrill, Jason wrote: Have you tried selectable = false? I think it might be: textAreaInstance.enabled = false; Getting rid of the focus rect is generally a separate issue though

Re: [Flashcoders] TextArea class properties

2008-09-09 Thread Ian Thomas
color when it is disabled... is there a style that is applicable? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Tuesday, September 09, 2008 12:35 PM To: Flash Coders List Subject: Re: [Flashcoders] TextArea class properties

Re: [Flashcoders] TextArea class properties

2008-09-09 Thread eric e. dolecki
... is there a style that is applicable? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Tuesday, September 09, 2008 12:35 PM To: Flash Coders List Subject: Re: [Flashcoders] TextArea class properties On Sep 9, 2008, at 12:05 PM, Merrill

RE: [Flashcoders] TextArea class properties

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
Beauty - thanks all -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Tuesday, September 09, 2008 12:48 PM To: Flash Coders List Subject: Re: [Flashcoders] TextArea class properties Try the style 'disabledColor'. The docs are here: http

RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Cor
Try textArea.setStyle(backgroundColor,0x00cc); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: vrijdag 5 september 2008 17:08 To: Flash Coders List Subject: [Flashcoders] textarea and transparent background I am

RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
Thanks for the suggestion, but no dice -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cor Sent: Friday, September 05, 2008 11:15 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] textarea and transparent background Try textArea.setStyle

Re: [Flashcoders] textarea and transparent background

2008-09-05 Thread Glen Pike
Hi, I am thinking that if you don't set a style, your text area will be transparent. Although you might be able to specify none or transparent as a style - check the doc's for styling the component. Glen Lehr, Theodore M (N-SGIS) wrote: I am changing the background color of a

RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
: [Flashcoders] textarea and transparent background Hi, I am thinking that if you don't set a style, your text area will be transparent. Although you might be able to specify none or transparent as a style - check the doc's for styling the component. Glen Lehr, Theodore M (N-SGIS) wrote: I

RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
, 2008 11:35 AM To: Flash Coders List Subject: RE: [Flashcoders] textarea and transparent background Thanks- it seems to be white by default - I'll try your suggestions - I've been searching the docs and the web... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Muzak
try calling invalidate on the component instance after setting/changing the text: UIObject.invalidate() http://livedocs.macromedia.com/flash/8/main/4199.html regards, Muzak - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: flashcoders

RE: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread David Ngo
I've run into this issue before as well. My (hackish) work-around was to create an empty MovieClip right after the text, set its alpha to 0, set its height to like, 50 or some arbitrary number to force the scrollbars to scroll beyond the text. Very hackish and not the best solution, but I had to

Re: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
yeh i've had to do something a bit hackish - a bunch of br / tags at the end of my script it's not pretty but it is working i tried that .invalidate() method but it didn't seem to do anything thanks for the input, guys On 24 May 2007, at 18:44, David Ngo wrote: I've run into this issue

RE: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Marc Hoffman
I've just added a couple of line breaks to the xml text: myTextField.htmlText = theXmlText + BRBRBR; Hackish, but easy to implement. At 10:44 AM 5/24/2007, you wrote: I've run into this issue before as well. My (hackish) work-around was to create an empty MovieClip right after the text, set

Re: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread nelson ramirez
my solution? I don't use the crappy v2 components. Adobe V2 components = the devil. Believe me when i say it will be time well spent to create or find your own solution. On 5/24/07, Marc Hoffman [EMAIL PROTECTED] wrote: I've just added a couple of line breaks to the xml text:

RE: [Flashcoders] TextArea Component (Flash 8)

2006-12-15 Thread Merrill, Jason
Have they increased the puny amount of HTML that is allowed in Flash? Nope, unfortunately. I've been down the exact same road - what I have learned is using the TextFormat object, while not perfect, will save you a lot of headaches. Searching through strings - what a pain, and a major

RE: [Flashcoders] TEXTAREA COMPONENT PROBLEM - has a green keyline whenselected :/

2006-09-27 Thread Ryan Potter
Try this: this.myTextArea.drawFocus = null; this.myTextArea.focusTextField = null; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Muller Sent: Wednesday, September 27, 2006 9:22 AM To: Flashcoders mailing list Subject: [Flashcoders]

Re: [Flashcoders] TEXTAREA COMPONENT PROBLEM - has a green keyline whenselected :/

2006-09-27 Thread Matt Muller
it works, thanks so much :) On 9/27/06, Ryan Potter [EMAIL PROTECTED] wrote: Try this: this.myTextArea.drawFocus = null; this.myTextArea.focusTextField = null; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Muller Sent: Wednesday, September

RE: [Flashcoders] TextArea and TextInput differences in creation, why?

2006-09-12 Thread Robert Chyko
Gotta have the components in the library -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Matthews Sent: Tuesday, September 12, 2006 11:24 AM To: Flashcoders mailing list Subject: [Flashcoders] TextArea and TextInput differences in creation, why?

Re: [Flashcoders] TextArea and TextInput differences in creation, why?

2006-09-12 Thread Stephen Matthews
Hi Robert, I only have TextArea in my Library and everything works. Maybe TextArea contains everything TextInput needs to exist. I just looked at the classes for both and they are quite different, I don't have time to drill down through all the dependencies and inheritance, but I imagine

RE: [Flashcoders] textArea background colour

2006-03-09 Thread Judah
Hi Simon, textinput.setStyle(backgroundColor, transparent); textinput.setStyle(borderStyle, none); Judah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Lord Sent: Tuesday, March 07, 2006 6:03 PM To: Flashcoders mailing list Subject: [Flashcoders]

Re: [Flashcoders] textArea background colour

2006-03-08 Thread Julius - XK
textAreaGuy.borderStyle = none; //should do the trick.. textAreaGuy.border_mc._visible = false; //should do the trick for the backgroundColor fill.. Hope this helps ya :) - Original Message - From: Simon Lord [EMAIL PROTECTED] To: Flashcoders mailing list

RE: [Flashcoders] TextArea - Impossible requests?

2005-11-15 Thread Chris Wilson
For the first problem, how about adding a number of blank lines to the end of the news story so the total number of lines is a multiple of the TextArea's visible page size to allow a full scroll? -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Flashcoders] TextArea - Impossible requests?

2005-11-15 Thread Muzak
: [Flashcoders] TextArea - Impossible requests? For the first problem, how about adding a number of blank lines to the end of the news story so the total number of lines is a multiple of the TextArea's visible page size to allow a full scroll? -Chris -Original Message- From: [EMAIL

Re: [Flashcoders] TextArea - Impossible requests?

2005-11-15 Thread Miles Thompson
a normal TextField instead of a TextArea. regards, Muzak - Original Message - From: Chris Wilson [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 15, 2005 4:09 PM Subject: RE: [Flashcoders] TextArea - Impossible requests

Re: [Flashcoders] TextArea BUG!! HELP

2005-11-09 Thread Andreas Rønning
txtDescription.text = textHtml; should be txtDescription.htmlText = textHtml; - Andreas Bruno Mosconi wrote: I'm preceding a simple task here, insert HTML content in a TextArea component including a simple Button component and a MC. First, I've imported TextArea and Button comps to my

RE: [Flashcoders] TextArea BUG!! HELP

2005-11-09 Thread Bruno Mosconi
de novembro de 2005 13:32 To: Flashcoders mailing list Subject: Re: [Flashcoders] TextArea BUG!! HELP txtDescription.text = textHtml; should be txtDescription.htmlText = textHtml; - Andreas Bruno Mosconi wrote: I'm preceding a simple task here, insert HTML content in a TextArea component

Re: [Flashcoders] TextArea BUG!! HELP

2005-11-09 Thread Michael Stuhr
Bruno Mosconi schrieb: Sadly TextArea Component does not have htmlText attribute, only text. If you try: txtDescription.htmlText = textHtml; TextArea will show blank. put the button inside another mc should give expected results. and btw: isn't there a bug with img/ at the very end of html

RE: [Flashcoders] TextArea BUG!! HELP

2005-11-09 Thread Bruno Mosconi
Mosconi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: quarta-feira, 9 de novembro de 2005 17:25 To: Flashcoders mailing list Subject: Re: [Flashcoders] TextArea BUG!! HELP Bruno Mosconi schrieb: Sadly TextArea Component does not have

Re: [Flashcoders] TextArea BUG!! HELP

2005-11-09 Thread Michael Stuhr
Bruno Mosconi schrieb: Ok, but how do I refer to button's instance to change dynamically its label? Btw, I've found a FIX at: http://flashant.org/index.php?m=200412#239 Looks like lots of people are addressing the same BUG unusual ways. this.createTextField(textField_txt, 10, 0, 0, 100,

RE: [Flashcoders] TextArea BUG!! HELP = Can't Change Button's Label

2005-11-09 Thread Bruno Mosconi
: [Flashcoders] TextArea BUG!! HELP Bruno Mosconi schrieb: Sadly TextArea Component does not have htmlText attribute, only text. If you try: txtDescription.htmlText = textHtml; TextArea will show blank. put the button inside another mc should give expected results. and btw: isn't

Re: [Flashcoders] TextArea BUG!! HELP

2005-11-09 Thread Michael Stuhr
Bruno Mosconi schrieb: Micha, thanks for the help Your MC trick worked fine, but button's label can't be changed at all! Take a look at this test code: txtDescription.html = true; textHtml += test line..BR/; textHtml += img src=\button_mc\ id=\button\sfvdfbybfbfbbr/;

RE: [Flashcoders] TextArea BUG!! HELP

2005-11-09 Thread Bruno Mosconi
novembro de 2005 18:31 To: Flashcoders mailing list Subject: Re: [Flashcoders] TextArea BUG!! HELP Bruno Mosconi schrieb: Micha, thanks for the help Your MC trick worked fine, but button's label can't be changed at all! Take a look at this test code: txtDescription.html = true