Skip to main content
March 27, 2009
Answered

event listener on inline graphic

  • March 27, 2009
  • 1 reply
  • 502 views
Hi

Is there a way to add an event listener to an inline graphic.
I cant seem to find much... or any help concerning this in the forums.

I remember reading a post about this a while back where someone wanted to add a doubble click to an inline graphic without success. Has that been resolved?

Im desperate to get this working and any help would be much appreciated

Thank you
This topic has been closed for replies.
Correct answer
_textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED,graphicStatusChangeEvent);

in this handler u can get a way to access loaderInfo of InlineGraphicsElement. You can then add listeners to events of loaderinfo.

Hope this helps

1 reply

Correct answer
April 1, 2009
_textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED,graphicStatusChangeEvent);

in this handler u can get a way to access loaderInfo of InlineGraphicsElement. You can then add listeners to events of loaderinfo.

Hope this helps