Skip to main content
Inspiring
Feb 18, 2009 4:46 PM UTC
Answered

TextFlow contextMenu

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 is closed to new replies. Start a new post to keep the conversation going.
rdermerCorrect answer
Inspiring
Feb 18, 2009 8:58 PM UTC
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

2 replies

rdermerCorrect answer
Inspiring
Feb 18, 2009 8:58 PM UTC
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
Translate
Apr 1, 2009 10:47 AM UTC
can you post some sample for the same..

thanks is advance
Translate