Skip navigation
yenamarc
Currently Being Moderated

Problems with contextMenu after SpellUI

Nov 17, 2010 6:16 PM

Hi,

 

I hope this is not answered elsewhere because i have searched all over.  I have a TextArea which has custom contextMenu.  I can switch on and off the custom contextMenu any number of times.  But once i enable SpellUI on this component, i cannot restore my custom contextMenu any more even after i disabled SpellUI.  Please help as I need to resolve this asap.

 

Thanks in advance

 

Yenamarc

 
Replies
  • Currently Being Moderated
    Nov 18, 2010 12:06 AM   in reply to yenamarc

    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?

     

    ravi (Adobe)

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2012 9:43 AM   in reply to ravi_adobe_

    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.

     

      - john7dev

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points