-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Glen,


Glen Pike schrieb:
>    I adapted the example on the following page to show you a quick test:
> 
> http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f4a.html
> 
> 
>    I changed the drawLayout function to highlight the word "renderer" in
> red.  You need to import TextFormat and TextField classes too.
>      override protected function drawLayout():void {           
>            textField.width = this.width;
>            var text:String = textField.text;
>            var tf:TextFormat = textField.getTextFormat();
>            var redIdx:int = text.indexOf("renderer");
>            if (-1 != redIdx) {
>                tf.color = 0xff0000;
>            }
>            TextField(textField).setTextFormat(tf, redIdx, (redIdx + 8));
>            super.drawLayout();
>        }
> Try that...
Well, I'm flabbergasted. It works great and this really is the first
time I have the feeling to get some kind of real control on that whole
list component.


Thanks a 1000 times and best regards,
Roman.
- --

Tracks & Fields GmbH
Winsstraße 57
10405 Berlin
Germany

T:  +49- (0)30- 44 32 33 57
F:  +49- (0)30- 44 32 33 55
www.tracksandfields.com

Registergericht: Amtsgericht Charlottenburg, HRB 113924
Geschäftsführer: Christian Mix-Linzer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK8UtxAAoJEIy2NMFSBJ3cmVkH/i0EZOolJqxKlAvoQHIqZjZJ
P+qJP5l0hKfU7g/YIe9WD8OH32zhOZCBmvZTEmmgLRHf1GBnBte7UwDyt1i7V262
m2ldMAyh/K0XLEK59ZLMU2jH57/lvN2qXEiQfHYtOjGn+Iz1azx8/wnfI1SGc7Tl
oGnekyrC22dN9an3HN3f/lVSOAKdyIs9BPD1n3eCT42tTBYtwqM4ngitk+ZGx7hx
e8eXI/Yt1dgO4p3vRK1e0umWQ54jRMVHPs7mAxDoJUhscbJ/7FtU7+XKjR3RWPx+
ubN6HC9aNABlFf8s5sr2U79C6ZNPZwAQbPm6h0fMUsJjpVdVXRJ/viwTqIhHJ7c=
=+mti
-----END PGP SIGNATURE-----
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to