Skip to main content
Inspiring
February 18, 2009
Answered

TextFlow contextMenu

  • February 18, 2009
  • 1 reply
  • 824 views
Hi,

Is it possible to set/add to the right click contextMenu of a TextFlow (Similar to TextField.contextMenu)?

I tried setting the contextMenu to its container but it overwites it, i think

Thanks for your help
Nikos
This topic has been closed for replies.
Correct answer rdermer
There is no support for this and how the ContextMenu is attached is changing. I'm thinking you could subclass DisplayObjectContainer and override some of the process*Event methods and add custom menu items there - but its not tested and I can't guarantee the stability.

I think this is a reasonable feature request.

I'll get a bug written up on this so it can be addressed.

Thanks,
Richard

1 reply

rdermerCorrect answer
Adobe Employee
February 18, 2009
There is no support for this and how the ContextMenu is attached is changing. I'm thinking you could subclass DisplayObjectContainer and override some of the process*Event methods and add custom menu items there - but its not tested and I can't guarantee the stability.

I think this is a reasonable feature request.

I'll get a bug written up on this so it can be addressed.

Thanks,
Richard
April 1, 2009
can you post some sample for the same..

thanks is advance