Skip to main content
April 22, 2009
Question

How to extend SubParagraphGroupElement

  • April 22, 2009
  • 1 reply
  • 611 views

I'm trying to extend the SubParagraphGroupElement to implement functionality similar to the link element but for generic tags - however I keep getting the following error:

Error: Attempted construct of invalid FlowElement subclass

Is there some code in the FlowElement class that is limiting the the subclasses?

This topic has been closed for replies.

1 reply

Adobe Employee
April 22, 2009

The FlowElements cannot be extended -- you can't sub-class them, and that's why you are seeing an error. You may be able to get the functionality you need by using a SpanElement and accessing the eventMirror. The eventMirror is in the tlf_internal namespace, but you can use it; it's just there because we'd like to do this in a better way in the future.