hi, sorry for a post here but i'm having trouble working with Squiggly with FlexBook . i know this group is very old. but hoping this is still monitor
Squiggly has the same functionality as any other web spell checker. squiggly red lines under misspelled words and right clicking to bring up the context menu with possible words for replacement. my problem is that a Group with a TextArea embedded in FlexBook is stopping the modify context menu with word choices from being displayed. thx, larry [my code] <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> -- 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.