Hi, I have been stuck on this for a week my problem is that a Group with a TextArea embedded in FlexBook is stopping the modify context menu with word choices from being displayed.
in my example below have two TextAreas, one embedded(ta) in FlexBook ,the other is not(ta2) . Both have spelling enabled. I am using mx controls insstead of spark, it makes no difference. When right clicking on on ta, the standard menu is displayed. ta2 shows the correct menu. Thanks Larry <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="600" height="600" creationComplete="creationCompleteHandler(event)" xmlns:controls="com.qs.controls.*"> <fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; @namespace mx "library://ns.adobe.com/flex/mx"; </fx:Style> <fx:Script> <![CDATA[ import com.adobe.linguistics.spelling.SpellUI; import mx.collections.ArrayCollection; import mx.containers.Canvas; import mx.controls.*; import mx.core.FlexGlobals; import mx.events.FlexEvent; private var can:Canvas = new Canvas(); private var ta:TextArea = new TextArea(); protected function creationCompleteHandler(event:FlexEvent):void { can.width = can.height = 600; ta.width = ta.height = ta.x = ta.y= 100; ta.text ="beakm me up"; can.addElement(ta); var bps:ArrayCollection = new ArrayCollection(); bps.addItem(can); fbook.content = bps.toArray(); SpellUI.enableSpelling(ta, "en_US"); SpellUI.enableSpelling(ta2, "en_US"); } ]]> </fx:Script> <s:VGroup id="roots" height="100%" width="100%"> <controls:FlexBook id="fbook" width="100%" height="100%" mouseEnabled="true" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0" /> <mx:TextArea id="ta2" text="beamk me up works"/> </s:VGroup> </s:Application> -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to flex_india+unsubscr...@googlegroups.com. To post to this group, send email to flex_india@googlegroups.com. Visit this group at http://groups.google.com/group/flex_india. For more options, visit https://groups.google.com/groups/opt_out.