# Leading with TLF in AS3

**URL:** https://forum.kirupa.com/t/leading-with-tlf-in-as3/322539
**Category:** flash
**Created:** [May 24, 2011, 10:42pm UTC](https://forum.kirupa.com/t/leading-with-tlf-in-as3/322539 "2011-05-24T22:42:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Optima](https://avatars.discourse-cdn.com/v4/letter/o/58f4c7/32.png) [@Optima](https://forum.kirupa.com/u/Optima)
#### Post date: [May 24, 2011, 10:42pm UTC](https://forum.kirupa.com/t/leading-with-tlf-in-as3/322539/1 "2011-05-24T22:42:24Z")

</div>

Hello -

I’m having an issue with leading and the new TLF Textboxes. It doesn’t seem to support negative values like Classic text. Anyone have a solution to this?

This block of code works on Classic Text fine but the leading is looks as if it’s at 0 with TLF Text:

```auto
var tf : TextFormat = new TextFormat();
            tf.leading = -10;
            _text.setTextFormat(tf);    

```

I threw this after to see what traces out:

```auto
trace (_text.getTextFormat().leading);

```

and I get -10 it’s just not displaying it ☹
