I need to convert ALL the TLF text fields in a flash document and would like to automate this tedious task.
Unfortunately there is no API for the TLF text
If I print the properties of a TLF text field in JSFL I get this:
elementType:tlfText name: left:109 top:113 width:234.95 height:154 locked:false matrix:[object Object] depth:1 layer:[object Layer] selected:true x:109 y:113 transformX:226.45 transformY:190 scaleX:1 scaleY:1 skewX:0 skewY:0 rotation:0 transformationPoint:[object Object] objectSpaceBounds:[object Object] duration:0 framerate:0
which to me looks like the Element instance with tlfText set as the elementType.
If I convert a TLF field to a Classic field in the IDE, the History Panel doesn't help.
I imagine one way would be to :
The first two steps are easy, but what can I do about step 3 ?
Please say there are some undocumented functions available to do this !
On another note, importing text from Illustrator always defaults to TLF in CS5/CS5.5
I wish there was a choice, maybe in the AI File Importer settings.
I have the same issue, and there is no help about this.
Could you solve the problem??
Not via jsfl
What I've done is change the publish settings from Flash Player 10 to Flash Player 9 (which doesn't support TLF)
and that converted all TLF text fields in the current .fla into Classic text fields. After that I could switch back to Flash Player 10/11 and the text would remain classic.
Still on documents I was working on with picky designers, I manually converted the text to make sure the classic text looks exactly (or as close as possible) like the tlf version.
Long story short, not through scripting
Thank you very much. It's a good trick.
I hope Adobe fix this in the next release ...