Ok, I just discovered the flashx.textLayout.elements.InlineGraphicElement, but now how do I insert it into a certain position in the TextFlow? I'm working primarily with the spark.components.TextArea component, and I'm using SDK 22.214.171.12420. I need to insert it into the position where the caret is currently at (TextArea.selectionAnchorPosition). How do I discover at what index to insert the graphic element at?
I think you want to use the insertInlineGraphicElement() method of EditManager.
Adobe Flex SDK Team
Thanks, Gordon, that helps a lot.