Skip to main content
Participating Frequently
April 21, 2010
Answered

Where to store FlowElement meta-data (particularly InlineGraphicElement)

  • April 21, 2010
  • 1 reply
  • 455 views

Is there a particular property on InlineGraphicElement that would be well-suited for storing arbitrary developer-relevant meta-data?

Motivation: I'm generating the display objects used for the sources of InlineGraphicElements from XML on the fly.  At some point in the runtime following user interaction, I need to change how these InlineGraphicElements look.  Thus, it would be nice to re-generate the DisplayObjects using the same XML used the first time for each InlineGraphicElement.

I'd rather have that XML stored as meta-data in the InlineGraphicElement instances than make yet another id-keyed-array, so I'm hoping that I've overlooked a handy meta-data dumping property in the FlowElement and InlineGraphicElement documentation.

Thanks in advance for any pointers the TLF-community has to offer.

This topic has been closed for replies.
Correct answer rdermer

You can use the setStyle function on ILG to set any key value pair as a property.

Richard

1 reply

rdermerCorrect answer
Adobe Employee
April 21, 2010

You can use the setStyle function on ILG to set any key value pair as a property.

Richard

TLFanAuthor
Participating Frequently
April 21, 2010

Excellent, this is exactly what I was looking for.

Thanks!