Welcome, Guest. Please login or register.
Did you miss your activation email?
31 Jul 2010, 11:40:43 UTC
Forum home
+  flexdeveloper.eu Forum
|-+  Flex and ActionScript 3.0
| |-+  ActionScript 3.0 (Moderators: JMWhittaker, Jan K, thewarpedcoder, James)
| | |-+  change textArea property dynamically
« previous next »
Pages: [1] Print
Author Topic: change textArea property dynamically (Read 478 times)
charly.poly
Newbie FD
*
Posts: 4


« on: 17 Feb 2010, 13:32:00 UTC »

how to change TextArea property dynamicallywhen the user typing on the testarea like change the style of text...

thks
Logged
danny_run
Newbie FD
*
Posts: 11


« Reply #1 on: 18 Feb 2010, 10:50:27 UTC »

I don't know exactly what you want, but you can put a Keyboard listener event on the textArea and in the event listener function change the properties of your textarea.
Logged
sathish
Newbie FD
*
Posts: 70


« Reply #2 on: 02 Mar 2010, 09:50:42 UTC »

i think you need to change style of textarea dynamically.. just try change event in textarea.

Code:
<mx:TextArea change="changeStyle()"  id="ta"/>

Code:
private function changeStyle():void{
ta.setStyle('styleProperty','value');
}
 

Kiss
« Last Edit: 02 Mar 2010, 11:27:53 UTC by flexy » Logged
Pages: [1] Print
« previous next »
Share this on: Twitter Twitter Del.icio.us del.icio.us Digg Digg
Jump to:

©2006-2010 Flexdeveloper.eu/Jodie O'Rourke. All rights reserved.
Adobe®, Adobe® Flash™, Adobe® AIR™ and Adobe® Flex™ are registered trademarks of Adobe Systems Incorporated in the United States and other countries. All rights reserved.

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC