Skip to main content
Mar 15, 2011 8:28 AM UTC
Question

Add Ruler to TLF editor

Hi,

Please tell me how to add a Ruler to my TLF text editor.

Thanks

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Adobe Employee
Mar 16, 2011 7:14 PM UTC

We have an example that does this, you could look at that sample code and see if it helps. There's a recent blog entry on the samples, see http://blogs.adobe.com/tlf/2011/03/tlf-samples-now-on-sourceforge.html. The Flow application uses this, as does the TextLayoutEditor (the two are basically variations of each other). The code for the rulers is in the "rulers" folder in textLayout_ui project.

- robin

Translate
Mar 24, 2011 7:16 AM UTC

Thanks robin.

I downloaded textLayout_build.zip from http://sourceforge.net/projects/tlf.adobe/files/current/ and it was giving some errors when trying to run the TextLayoutEditor in samples. It seemed to be a TLF version problem. I am using Flash builder 4.

Then I copied the textLayout.swc from textLayout_build.zip -> lib to C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\lib

Now it's working.

Translate