Skip to main content
October 20, 2009
Question

Line Breaks

  • October 20, 2009
  • 1 reply
  • 466 views

I want "breakOpportunity  = ALL" for some areas of text and "breakOpportunity = AUTO" on others.  Is there any way to do this on the fly?  I keep getting  "Error #2184: The ElementFormat object is locked and cannot be modified." when I try to edit this property during composition.

This topic has been closed for replies.

1 reply

Adobe Employee
October 21, 2009

Are you trying to directly modify the ElementFormat attached to a ContentElement?  Once the ElementFormat is attached it can't be modified.

TLF doesn't support

a) reaching underneath and modifying the flash.text.engine objects

b) changing TLF attributes during composition

Hope that helps,

Richard