Are you disabling spellUI using the disableSpelling(comp:UIComponent) api? I double checked this and the custom context menu does get restored after this api call. Could you please provide your sample code where this might be reproducible?
Has there been any resolution on this issue? I am having the same problem. Using Flash Builder 4.0, Halo components, Flash 11.1.
I have a custom contextMenu on myTextArea1 that is replaced with the call to SpellUI.enableSpelling(myTextArea1, "en_US"), and then not restored after a call to SpellUI.disableSpelling(myTextArea1).
- the spelling engine is in a module that is loaded on demand.
- the textArea is in an itemRenderer that is in a List.
- the itemRenderer calls the module that has the spelling engine in it to register the textArea.
Everything works... except the original custom contextMenu is not restored after the call to disableSpelling.
Thanks for your help.